| Variables |
O_APPEND - Cause writes to be append to the end of the file |
O_CREAT - Flag to create the file upon opening if it does not exist |
O_EXCL - Make sure that the file is exclusive |
O_RDONLY - Flag to set the file as read only upon open |
O_RDWR - Flag to set the file as read and write upon open |
O_TRUNC - Open the file and trucate it to 0 length |
O_WRONLY - Flag to set the file as write only upon open |