closefrom.3bsd man page

closefrom — delete open file descriptors

Library

library “libbsd”

Synopsis

#include <unistd.h> (See libbsd(7) for include usage.)
void
closefrom(int lowfd);

Description

The closefrom() 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

The closefrom() function first appeared in FreeBSD 8.0.

Info

June 12, 2009