diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-31 08:35:47 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-03-31 08:35:47 +0000 |
commit | 07ad9d0ce4a99f5e786388bfa091b6378e331e94 (patch) | |
tree | f101ce58d6d319734a489e030a61a9bfad2a262b /lib/libc | |
parent | d3358d8908dd0b9d2f5c495d363179c2e6fbd4ef (diff) |
Updates to RETURN VALUES, ERRORS, and STANDARDS
ok jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/fcntl.2 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2 index 2b3511a5647..532c2deb618 100644 --- a/lib/libc/sys/fcntl.2 +++ b/lib/libc/sys/fcntl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fcntl.2,v 1.29 2013/01/19 21:57:57 millert Exp $ +.\" $OpenBSD: fcntl.2,v 1.30 2013/03/31 08:35:46 guenther Exp $ .\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94 .\" -.Dd $Mdocdate: January 19 2013 $ +.Dd $Mdocdate: March 31 2013 $ .Dt FCNTL 2 .Os .Sh NAME @@ -388,9 +388,11 @@ error. Upon successful completion, the value returned depends on .Fa cmd as follows: -.Bl -tag -width F_GETOWNX -offset indent +.Bl -tag -width F_DUPFD_CLOEXEC -offset indent .It Dv F_DUPFD A new file descriptor. +.It Dv F_DUPFD_CLOEXEC +A new file descriptor. .It Dv F_GETFD Value of flag (only the low-order bit is defined). .It Dv F_GETFL @@ -464,6 +466,10 @@ and a deadlock condition was detected. .It Bq Er EINTR The argument .Fa cmd +is invalid. +.Pp +The argument +.Fa cmd is .Dv F_SETLKW , and the function was interrupted by a signal. @@ -523,6 +529,11 @@ is not in use. .Xr open 2 , .Xr sigaction 2 , .Xr getdtablesize 3 +.Sh STANDARDS +The +.Fn fcntl +function conforms to +.St -p1003.1-2008 . .Sh HISTORY The .Fn fcntl |