| | | |
- fcntl(...)
- fcntl(fd, opt, [arg])
-
- Perform the requested operation on file descriptor fd. The operation
- is defined by op and is operating system dependent. Typically these
- codes can be retrieved from the library module FCNTL. The argument arg
- is optional, and defaults to 0; it may be an int or a string.
- flock(...)
- flock(fd, operation)
-
- Perform the lock operation op on file descriptor fd. See the Unix
- manual flock(3) for details. (On some systems, this function is
- emulated using fcntl().)
- ioctl(...)
- ioctl(fd, opt, [arg])
-
- Perform the requested operation on file descriptor fd. The operation
- is defined by op and is operating system dependent. Typically these
- codes can be retrieved from the library module IOCTL. The argument arg
- is optional, and defaults to 0; it may be an int or a string.
- lockf(...)
- lockf (fd, operation)
-
- This is a wrapper around the FCNTL.F_SETLK and FCNTL.F_SETLKW fcntl()
- calls. See the Unix manual for details.
|