POSIXFile locks


Syntax

  • int fcntl(int fd, int cmd, struct flock*);
  • int lockf(int fd, int cmd, off_t len);