namespace FileSystem

The core container for the filesystem utilities and constants

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

Variables

number O_APPEND Click to go up to the list
Cause writes to be append to the end of the file
Description:
Using this flag means that before each write occurs the file pointer is set to the end of the file as if an explicit seek had been done.

number O_CREAT Click to go up to the list
Flag to create the file upon opening if it does not exist
Description:
The owner (user ID) of the file is set to the effective user ID of the process. The group ownership (group ID) is set either to the effective group ID of the process or to the group ID of the parent directory (depending on filesystem type and mount options, and the mode of the parent directory).

number O_EXCL Click to go up to the list
Make sure that the file is exclusive
Description:
Use this bit anded '&' with O_CREAT to make sure the the file, when created does not already exists.

number O_RDONLY Click to go up to the list
Flag to set the file as read only upon open

number O_RDWR Click to go up to the list
Flag to set the file as read and write upon open

number O_TRUNC Click to go up to the list
Open the file and trucate it to 0 length
Description:
The open flags must contain the ability to write to the file and it must be a regular disk file [not a device].

number O_WRONLY Click to go up to the list
Flag to set the file as write only upon open

Automatically generated at 12:07PM, Wednesday 25 May 2005 by feritedoc.