Document F_MAXFD, F_CLOSEM
This commit is contained in:
parent
43c0378045
commit
8a293ad181
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: fcntl.2,v 1.29 2003/08/07 16:43:57 agc Exp $
|
||||
.\" $NetBSD: fcntl.2,v 1.30 2004/01/05 00:34:34 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -29,7 +29,7 @@
|
||||
.\"
|
||||
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
|
||||
.\"
|
||||
.Dd May 5, 2001
|
||||
.Dd January 4, 2004
|
||||
.Dt FCNTL 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -137,6 +137,11 @@ is interpreted as a process ID.
|
||||
The argument
|
||||
.Fa arg
|
||||
is interpreted as an int.
|
||||
.It Dv F_CLOSEM
|
||||
Close all file descriptors greater than or equal to
|
||||
.Ar fd .
|
||||
.It Dv F_MAXFD
|
||||
Return the maximum file descriptor number currently open by the process.
|
||||
.El
|
||||
.Pp
|
||||
The flags for the
|
||||
@ -370,6 +375,8 @@ Value of flag (only the low-order bit is defined).
|
||||
Value of flags.
|
||||
.It Dv F_GETOWN
|
||||
Value of file descriptor owner.
|
||||
.It Dv F_MAXFD
|
||||
Value of the highest file descriptor open by the process.
|
||||
.It other
|
||||
Value other than -1.
|
||||
.El
|
||||
|
Loading…
Reference in New Issue
Block a user