BSD 4_3 release
[unix-history] / usr / man / man2 / fcntl.2
index bbbd587..4a5213e 100644 (file)
@@ -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
 .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
 .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
 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
 .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)).
 (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
 .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.