public enum FcntlCommand
|F_DUPFD||Return a new descriptor as follows:
- Lowest numbered available descriptor greater than or equal to arg.
- Same object references as the original descriptor.
- New descriptor shares the same file offset if the object was a file.
- Same access mode (read, write or read/write).
- Same file status flags (i.e., both file descriptors share the same file status flags).
- The close-on-exec flag associated with the new file descriptor is set to remain open across Syscall.execve system calls.
|F_GETFD||Get the close-on-exec flag associated with the file descriptor fd as FD_CLOEXEC. If the returned value ANDed with FD_CLOEXEC is 0, the file will remain open across exec(), otherwise the file will be closed upon execution of exec() (arg is ignored).|
|F_GETFL||Get descriptor status flags, as described below (arg is ignored).|
|F_GETLEASE||Documentation for this section has not yet been entered.|
|F_GETLK||Get the first lock that blocks the lock description pointed to by the third argument, arg, taken as a reference to a Mono.Unix.Native.Flock. The information retrieved overwrites the information passed to Syscall.fcntl in the flock structure. If no lock is found that would prevent this lock from being created, the structure is left unchanged by this system call except for the lock type which is set to LockType.F_UNLCK.|
|F_GETOWN||Get the process ID or process group currently receiving Signum.SIGIO and Signum.SIGURG signals; process groups are returned as negative values (arg is ignored).|
|F_GETSIG||Documentation for this section has not yet been entered.|
|F_NOTIFY||Documentation for this section has not yet been entered.|
|F_SETFD||Set the close-on-exec flag associated with fd to arg, where arg is either 0 or FD_CLOEXEC, as described above.|
|F_SETFL||Set descriptor status flags to arg.|
|F_SETLEASE||Documentation for this section has not yet been entered.|
|F_SETLK||Set or clear a file segment lock according to the lock description pointed to by the third argument, arg, taken as a pointer to a Mono.Unix.Native.Flock. FcntlCommand.F_SETLK is used to establish shared (or read) locks (LockType.F_RDLCK) or exclusive (or write) locks, (LockType.F_WRLCK), as well as remove either type of lock (LockType.F_UNLCK). If a shared or exclusive lock cannot be set, Syscall.fcntl returns immediately with Error.EAGAIN.|
|F_SETLKW||This command is the same as FcntlCommand.F_SETLK except that if a shared or exclusive lock is blocked by other locks, the process waits until the request can be satisfied. If a signal that is to be caught is received while Syscall.fcntl is waiting for a region, the Syscall.fcntl will be interrupted if the signal handler has not specified the SA_RESTART (see Syscall.sigaction).|
|F_SETOWN||Set the process or process group to receive Signum.SIGIO and Signum.SIGURG signals; process groups are specified by supplying arg as negative, otherwise arg is interpreted as a process ID.|
|F_SETSIG||Documentation for this section has not yet been entered.|
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 220.127.116.11