core.sys.linux.sys.file

D header file for Linux file ops.

Members

Functions

flock
int flock(int fd, int operation)

Apply or remove an advisory lock on an open file

Manifest constants

LOCK_EX
enum LOCK_EX;

Exclusive lock

LOCK_NB
enum LOCK_NB;

Don't block when locking. Can be OR'd into one of the above.

LOCK_SH
enum LOCK_SH;

Shared lock

LOCK_UN
enum LOCK_UN;

Unlock

Meta

Authors

Nemanja Boric