closefrom man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CLOSEFROM(2)		    BSD System Calls Manual		  CLOSEFROM(2)

NAME
     closefrom — delete many descriptors

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <unistd.h>

     int
     closefrom(int fd);

DESCRIPTION
     The closefrom() system call deletes all descriptors numbered fd and
     higher from the per-process file descriptor table.	 It is effectively the
     same as calling close(2) on each descriptor.

IMPLEMENTATION NOTES
     The behaviour of the closefrom system call in DragonFly is similar to
     that of SunOS except for error returned in the case of an abort.

RETURN VALUES
     The value of 0 is returned in all cases, or EINTR when an interrupt or
     abort is received.

SEE ALSO
     close(2)

HISTORY
     The closefrom system call appeared in DragonFly 1.2.  It was originally
     introduced in some version of Sun Solaris.

AUTHORS
     This system call is written by Joerg Sonnenberger ⟨joerg@bec.de⟩.

BSD				April 10, 2004				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net