closefrom (2)
Leading comments
Copyright (c) 2009 Hudson River Trading LLC
Written by: John H. Baldwin <jhb@FreeBSD.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the...
(The comments found at the beginning of the groff file "man2/closefrom.2freebsd".)
NAME
closefrom
- delete open file descriptors
LIBRARY
Lb libc
SYNOPSIS
In unistd.h
Ft void
Fn closefrom int lowfd
DESCRIPTION
The
Fn closefrom
system call deletes all open file descriptors greater than or equal to
Fa lowfd
from the per-process object reference table.
Any errors encountered while closing file descriptors are ignored.
SEE ALSO
close(2)
HISTORY
The
Fn closefrom
function first appeared in
Fx 8.0 .