1CLOSEFROM(3bsd)                      LOCAL                     CLOSEFROM(3bsd)
2

NAME

4     closefrom — delete open file descriptors
5

LIBRARY

7     Utility functions from BSD systems (libbsd, -lbsd)
8

SYNOPSIS

10     #include <unistd.h>
11     (See libbsd(7) for include usage.)
12
13     void
14     closefrom(int lowfd);
15

DESCRIPTION

17     The closefrom() system call deletes all open file descriptors greater
18     than or equal to lowfd from the per-process object reference table.  Any
19     errors encountered while closing file descriptors are ignored.
20

SEE ALSO

22     close(2)
23

HISTORY

25     The closefrom() function first appeared in FreeBSD 8.0.
26
27BSD                              June 12, 2009                             BSD
Impressum