1closefrom(3bsd) LOCAL closefrom(3bsd)
2
4 closefrom — delete open file descriptors
5
7 Utility functions from BSD systems (libbsd, -lbsd)
8
10 #include <unistd.h>
11 (See libbsd(7) for include usage.)
12
13 void
14 closefrom(int lowfd);
15
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
22 close(2)
23
25 The closefrom() function first appeared in FreeBSD 8.0.
26
27BSD June 12, 2009 BSD