fdavail is a goner

This commit is contained in:
pooka 2006-03-07 17:22:10 +00:00
parent 1279f1b037
commit 25833a1352
3 changed files with 6 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.856 2006/02/25 01:44:15 christos Exp $
# $NetBSD: mi,v 1.857 2006/03/07 17:22:10 pooka Exp $
./etc/mtree/set.comp comp-sys-root
./usr/bin/addr2line comp-debug-bin bfd
./usr/bin/ar comp-util-bin bfd
@ -5234,7 +5234,7 @@
./usr/share/man/cat9/falloc.0 comp-sys-catman .cat
./usr/share/man/cat9/fd_getfile.0 comp-sys-catman .cat
./usr/share/man/cat9/fdalloc.0 comp-sys-catman .cat
./usr/share/man/cat9/fdavail.0 comp-sys-catman .cat
./usr/share/man/cat9/fdavail.0 comp-obsolete obsolete
./usr/share/man/cat9/fdcheckstd.0 comp-sys-catman .cat
./usr/share/man/cat9/fdclear.0 comp-sys-catman .cat
./usr/share/man/cat9/fdclone.0 comp-sys-catman .cat
@ -9183,7 +9183,7 @@
./usr/share/man/man9/falloc.9 comp-sys-man .man
./usr/share/man/man9/fd_getfile.9 comp-sys-man .man
./usr/share/man/man9/fdalloc.9 comp-sys-man .man
./usr/share/man/man9/fdavail.9 comp-sys-man .man
./usr/share/man/man9/fdavail.9 comp-obsolete obsolete
./usr/share/man/man9/fdcheckstd.9 comp-sys-man .man
./usr/share/man/man9/fdclear.9 comp-sys-man .man
./usr/share/man/man9/fdclone.9 comp-sys-man .man

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.192 2006/02/24 12:47:18 pooka Exp $
# $NetBSD: Makefile,v 1.193 2006/03/07 17:22:11 pooka Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@ -200,7 +200,6 @@ MLINKS+=filedesc.9 falloc.9 \
filedesc.9 fd_getfile.9 \
filedesc.9 dupfdopen.9 \
filedesc.9 fdalloc.9 \
filedesc.9 fdavail.9 \
filedesc.9 fdcheckstd.9 \
filedesc.9 fdclear.9 \
filedesc.9 fdclone.9 \

View File

@ -1,4 +1,4 @@
.\" $NetBSD: filedesc.9,v 1.11 2006/02/24 22:04:15 wiz Exp $
.\" $NetBSD: filedesc.9,v 1.12 2006/03/07 17:22:11 pooka Exp $
.\"
.\" Copyright (c) 2002, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd February 24, 2006
.Dd March 7, 2006
.Dt FILEDESC 9
.Os
.Sh NAME
@ -43,7 +43,6 @@
.Nm falloc ,
.Nm fd_getfile ,
.Nm fdalloc ,
.Nm fdavail ,
.Nm fdcheckstd ,
.Nm fdclear ,
.Nm fdcloseexec ,
@ -68,8 +67,6 @@
.Ft int
.Fn fdalloc "struct proc *p" "int want" "int *result"
.Ft int
.Fn fdavail "struct proc *p" "int n"
.Ft int
.Fn fdcheckstd "struct lwp *l"
.Ft void
.Fn fdclear "struct lwp *l"
@ -194,12 +191,6 @@ The
.Fn fdalloc
function returns zero on success, otherwise an appropriate error is
returned.
.It Fn fdavail "p" "n"
Check to see whether
.Fa n
file descriptors are available to process
.Fa p .
Returns zero on success, or 1 on failure.
.It Fn fdcheckstd "l"
Check the standard file descriptors 0, 1, and 2 and ensure they are
referencing valid file descriptors.