Skip to main content

Module fcntl

Module fcntl 

Source
Expand description

Re-exports§

pub use self::sys::*;
pub use crate::header::bits_open_flags::*;

Modules§

sys

Structs§

flock
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fcntl.h.html.

Constants§

F_DUPFD
Duplicate file descriptor.
F_DUPFD_CLOEXEC
Duplicate file descriptor with the close-on-exec flag FD_CLOEXEC set.
F_GETFD
Get file descriptor flags.
F_GETFL
Get file status flags and file access modes.
F_GETLK
Get information about file locks.
F_OFD_GETLK
Get information about file locks.
F_OFD_SETLK
Set an OFD-owned file lock.
F_OFD_SETLKW
Set an OFD-owned file lock; wait if blocked.
F_RDLCK
Shared or read lock.
F_SETFD
Set file descriptor flags.
F_SETFL
Set file status flags.
F_SETLK
Set a process-owned file lock.
F_SETLKW
Set a process-owned file lock; wait if blocked.
F_UNLCK
Unlock.
F_WRLCK
Exclusive or write lock.

Functions§

creat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/creat.html.
fcntl
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fcntl.html.
open
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/open.html.
openat
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/openat.html.
posix_fallocate
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/posix_fallocate.html.