23.10.2014 Views

PubTeX output 1998.09.24:1021

PubTeX output 1998.09.24:1021

PubTeX output 1998.09.24:1021

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

fcntl(5)<br />

Headers, Tables, and Macros<br />

NAME<br />

SYNOPSIS<br />

fcntl – file control options<br />

#include <br />

DESCRIPTION<br />

The header defines the following requests and arguments for use<br />

by the functions fcntl(2) and open(2).<br />

Values for cmd used by fcntl() (the following values are unique):<br />

F_DUPFD Duplicate file descriptor.<br />

F_DUP2FD<br />

F_GETFD<br />

F_SETFD<br />

F_GETFL<br />

F_SETFL<br />

F_GETOWN<br />

F_SETOWN<br />

F_FREESP<br />

F_GETLK<br />

F_GETLK64<br />

F_SETLK<br />

F_SETLK64<br />

F_SETLKW<br />

F_SETLKW64<br />

F_SHARE<br />

Similar to F_DUPFD, but always returns arg.<br />

Get file descriptor flags.<br />

Set file descriptor flags.<br />

Get file status flags.<br />

Set file status flags.<br />

Get process or process group ID to receive SIGURG signals.<br />

Set process or process group ID to receive SIGURG signals.<br />

Free storage space associated with a section of the ordinary<br />

file fildes.<br />

Get record locking information.<br />

Equivalent to F_GETLK, but takes a struct flock64<br />

argument rather than a struct flock argument.<br />

Set record locking information.<br />

Equivalent to F_SETLK, but takes a struct flock64<br />

argument rather than a struct flock argument.<br />

Set record locking information; wait if blocked.<br />

Equivalent to F_SETLKW, but takes a struct flock64<br />

argument rather than a struct flock argument.<br />

Set share reservation.<br />

F_UNSHARE Remove share reservation.<br />

File descriptor flags used for fcntl():<br />

35 SunOS 5.7 Last modified 4 Apr 1997

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!