Python fcntl Functions

EditRocket provides the following information on fcntl functions in the Python source code builder.

fcntl(fd, op[, arg]) - Perform the requested operation on file descriptor fd (file objects providing a fileno() method are accepted as well).

flock(fd, op) - Perform the lock operation op on file descriptor fd (file objects providing a fileno() method are accepted as well).

ioctl(fd, op[, arg[, mutate_flag]]) - This function is identical to the fcntl() function

lockf(fd, operation, [length, [start, [whence]]]) - This is essentially a wrapper around the fcntl() locking calls.