summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/fcntl.2
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-04-06 09:55:07 +0000
committerjoerg <joerg@FreeBSD.org>1996-04-06 09:55:07 +0000
commit51c32388d4f823d681a4ced36b749e2386b6f0bc (patch)
tree5d9454f4dca42dcca8d06679b3925580659f1200 /lib/libc/sys/fcntl.2
parent9fcf3504c21af573df3b8b40da8e09d5a28f4318 (diff)
downloadFreeBSD-src-51c32388d4f823d681a4ced36b749e2386b6f0bc.zip
FreeBSD-src-51c32388d4f823d681a4ced36b749e2386b6f0bc.tar.gz
Mention other possible errors that could be caused by the F_[GS]ETOWN
commands.
Diffstat (limited to 'lib/libc/sys/fcntl.2')
-rw-r--r--lib/libc/sys/fcntl.220
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 87b97f0..5587bcf 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -490,13 +490,31 @@ is
and
the process ID given as argument is not in use.
.El
+.Pp
+In addition, if
+.Fa fd
+refers to a descriptor open on a terminal device (as opposed to a
+descriptor open on a socket), a
+.Fa cmd
+of
+.Dv F_SETOWN
+can fail for the same reasons as in
+.Xr tcsetpgrp 3 ,
+and a
+.Fa cmd
+of
+.Dv F_GETOWN
+for the reasons as stated in
+.Xr tcgetpgrp 3 .
.Sh SEE ALSO
.Xr close 2 ,
.Xr execve 2 ,
.Xr flock 2 ,
.Xr getdtablesize 2 ,
.Xr open 2 ,
-.Xr sigvec 2
+.Xr sigvec 2 ,
+.Xr tcgetpgrp 3 ,
+.Xr tcsetpgrp 3
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud