man.bsd.lv manual page server

Manual Page Search Parameters

CLOSEFROM(2) System Calls Manual CLOSEFROM(2)

closefromdelete open file descriptors

library “libc”

#include <unistd.h>

void
closefrom(int lowfd);

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

close(2)

The closefrom() function first appeared in FreeBSD 8.0.

June 12, 2009 FreeBSD-12.0