X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0f4556f12c8f75078501c9d1338ae7648a97f975..95f51977ddc18faa2e212f30c00a39540b39f325:/usr/man/man2/fcntl.2 diff --git a/usr/man/man2/fcntl.2 b/usr/man/man2/fcntl.2 index bbbd587254..4a5213e04d 100644 --- a/usr/man/man2/fcntl.2 +++ b/usr/man/man2/fcntl.2 @@ -1,5 +1,11 @@ -.TH FCNTL 2 "18 July 1983" -.UC 4 +.\" Copyright (c) 1983 Regents of the University of California. +.\" All rights reserved. The Berkeley software License Agreement +.\" specifies the terms and conditions for redistribution. +.\" +.\" @(#)fcntl.2 6.4 (Berkeley) 5/22/86 +.\" +.TH FCNTL 2 "May 22, 1986" +.UC 5 .SH NAME fcntl \- file control .SH SYNOPSIS @@ -93,7 +99,7 @@ corresponds to the O_APPEND flag of .TP FASYNC Enable the SIGIO signal to be sent to the process group -when I/O is possible, e.g. +when I/O is possible, e.g., upon availability of data to be read. .SH "RETURN VALUE Upon successful completion, the value returned depends on @@ -129,13 +135,16 @@ open. .I Cmd is F_DUPFD and .I arg -is negative or greater the maximum allowable number +is negative or greater than the maximum allowable number (see .IR getdtablesize (2)). +.TP 15 +[ESRCH] +.I Cmd +is F_SETOWN and +the process ID given as argument is not in use. .SH "SEE ALSO close(2), execve(2), getdtablesize(2), open(2), sigvec(2) .SH BUGS The asynchronous I/O facilities of FNDELAY and FASYNC -are currently available only for tty operations. -No SIGIO signal is sent upon draining of output sufficiently -for non-blocking writes to occur. +are currently available only for tty and socket operations.