CLOSEFROM(3) BSD Library Functions Manual CLOSEFROM(3)NAME
closefrom — delete open file descriptors
LIBRARY
Utility functions from BSD systems (libbsd, -lbsd)
SYNOPSIS
#include <bsd/unistd.h>
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 ALSOclose(2)HISTORY
The closefrom() function first appeared in FreeBSD 8.0.
BSD June 12, 2009 BSD