Modula-2 || Compiler & Tools || Library || Search Engine


Ulm's Modula-2 Library:
SysFcntl


NAME

SysFcntl - file control operations

SYNOPSIS

TYPE FcntlRequest = (dupfd, getfd, setfd, getfl, setfl, getown,
                     setown, getlk, setlk, setlkw);


PROCEDURE Fcntl(fd: CARDINAL; cmd: FcntlRequest; VAR arg: WORD) : BOOLEAN;

DESCRIPTION

SysFcntl offers various file control operations for open files. See fcntl(2) for a detailed description.

DIAGNOSTICS

On failure, FALSE is returned and Errno.errno is set.

SEE ALSO

fcntl(2)
Edited by: borchert, last change: 1997/02/26, revision: 1.1, converted to HTML: 1997/04/28

Modula-2 || Compiler & Tools || Library || Search Engine