|
fchmod(2) -- change file mode access permissions
|
The chmod() and fchmod() system calls set the access permission portion of the file's mode according to the bit pattern contained in mode. path points to a path name naming a file. fildes is a file descriptor. The following symbolic constants representing the access permission bits are defined with the indicated values in and are used to construct the mode argument. The value of mode... |
fchown(2) -- change owner and group of a file
|
The chown() system call changes the user and group ownership of a file. path points to the path name of a file. chown() sets the owner ID and group ID of the file to the numeric values contained in owner and group respectively. A value of UID_NO_CHANGE or GID_NO_CHANGE can be specified in owner or group to leave unchanged the file's owner ID or group ID, respectively. Note that owner and group sh... |
|
fcntl(2) -- file control
|
fcntl() provides for control over open files. fildes is an open file descriptor. The following are possible values for the cmd argument: F_DUPFD Return a new file descriptor having the following characteristics: + Lowest numbered available file descriptor greater than or equal to the third argument, arg, taken as an integer of type int. + Same open file (or pipe) as the original file. + Same file ... |
fdatasync(2) -- synchronize a file's in-core and on-disk states
|
fsync() and fdatasync() cause all modified data and attributes of fildes to be moved to a permanent storage device. This normally results in all in-core modified copies of buffers for the associated file to be written to a disk. fsync() and fdatasync() apply to ordinary files, and apply to block special devices on systems which permit I/O to block special devices. fsync() and fdatasync() should be... |
FD_CLR(2) -- synchronous I/O multiplexing
|
The select() function indicates which of the specified file descriptors is ready for reading, ready for writing, or has an error condition pending. If the specified condition is false for all of the specified file descriptors, select() blocks, up to the specified timeout interval, until the specified condition is true for at least one of the specified file descriptors. The select() function suppor... |
FD_ISSET(2) -- synchronous I/O multiplexing
|
The select() function indicates which of the specified file descriptors is ready for reading, ready for writing, or has an error condition pending. If the specified condition is false for all of the specified file descriptors, select() blocks, up to the specified timeout interval, until the specified condition is true for at least one of the specified file descriptors. The select() function suppor... |
FD_SET(2) -- synchronous I/O multiplexing
|
The select() function indicates which of the specified file descriptors is ready for reading, ready for writing, or has an error condition pending. If the specified condition is false for all of the specified file descriptors, select() blocks, up to the specified timeout interval, until the specified condition is true for at least one of the specified file descriptors. The select() function suppor... |
FD_ZERO(2) -- synchronous I/O multiplexing
|
The select() function indicates which of the specified file descriptors is ready for reading, ready for writing, or has an error condition pending. If the specified condition is false for all of the specified file descriptors, select() blocks, up to the specified timeout interval, until the specified condition is true for at least one of the specified file descriptors. The select() function suppor... |
fgetacl(2) -- get access control list (ACL) information (HFS File Systems only)
|
getacl() returns a complete listing of all ACL entries (uid.gid, mode) in an existing file's access control list. path points to a path name of a file. Similarly, fgetacl() returns a complete listing of all ACL entries for an open file known by the file descriptor fildes. nentries is the number of entries being reported on, and is never more than the constant NACLENTRIES defined in . I... |
fork(2) -- create a new process
|
The fork() system call causes the creation of a new process. The new child process is created wth exactly one thread or lightweight process. The new child process contains a replica of the calling thread (if the calling process is multi-threaded) and its entire address space, possibly including the state of mutexes and other resources. If the calling process is multi-threaded, the child process ma... |
fpathconf(2) -- get configurable path name variables
|
The pathconf() and fpathconf() functions provide a method for applications to determine the value of a configurable limit or option associated with a file or directory (see limits(5) and ). For pathconf(), the path argument points to the path name of a file or directory. For fpathconf(), the fildes argument is an open file descriptor. For both functions, the name argument represents the ... |
fsctl(2) -- file system control
|
fsctl() provides access to file-system-specific information. fildes is an open file descriptor for a file in the file system of interest. The possible values for command depend on the type of file system. Currently, defined commands exist only for the CDFS file system (see sys/cdfsdir.h). outbuf is a pointer to the data area in which data is returned from the file system. outlen gives the length o... |
fsetacl(2) -- set access control list (ACL) information
|
setacl() sets an existing file's access control list (ACL) or deletes optional entries from it. path points to a path name of a file. Similarly, fsetacl() sets an existing file's access control list for an open file known by the file descriptor fildes. The effective user ID of the process must match the owner of the file or be the super-user to set a file's ACL. A successful call to setacl() de... |
fstat(2) -- get file status
|
The fstat() function obtains information about an open file associated with the file descriptor fildes, and writes it to the area pointed to by buf. fildes is a file descriptor for an open file, which is created with the successful completion of an open(), creat(), dup(), fcntl(), or pipe() system call. See the open(2), creat(2), dup(2), fcntl(2), or pipe(2)) manpages for more detailed information... |
fstat64(2) -- non-POSIX standard API interfaces to support large files
|
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in the future. creat64() The creat64() function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional behaviors, returns, and errors are identical to creat(). fstat64() The fstat64() function is identical to fstat()... |