other sections
CLOSEFROM(3bsd) | 3bsd | CLOSEFROM(3bsd) |
NAME¶
closefrom
—
delete open file descriptors
LIBRARY¶
library “libbsd”SYNOPSIS¶
#include <unistd.h>
(See
libbsd(7) for include usage.)
void
closefrom
(int
lowfd);
DESCRIPTION¶
Theclosefrom
() system call deletes all open file
descriptors greater than or equal to lowfd from the
per-process object reference table. Any errors encountered while closing file
descriptors are ignored.
SEE ALSO¶
close(2)HISTORY¶
Theclosefrom
() function first appeared in
FreeBSD 8.0.
June 12, 2009 | Linux 4.19.0-14-amd64 |