ICI Modules: sys: fcntl


Modules by name : by type

Synopsis

int = sys.fcntl(int, string [, int])

Description

The fcntl() function provides access to the fcntl(2) system call. The first argument is a file descriptor on which some action is to be performed. That action is given by the second argument, a string, that may be one of the following values,

Those actions that require a parameter, the "set" requests, require a third argument, an integer, giving the value that is to be set.

start 0 len 0 type rdlck int | string : "rdlck", "wrlck", "unlck" whence int sys.SEEK_SET

Flag values are system specific and currently no symbolic versions are defined.