Next: , Previous: , Up: Glibc Extensions to <unistd.h>   [Contents][Index]


12.116.5 closefrom

Documentation:
https://www.gnu.org/software/libc/manual/html_node/Opening-and-Closing-Files.html

Gnulib module: —

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

Note (quoted from man close): “The [POSIX] standard developers rejected a proposal to add closefrom() to the [POSIX] standard. Because the standard permits implementations to use inherited file descriptors as a means of providing a conforming environment for the child process, it is not possible to standardize an interface that closes arbitrary file descriptors above a certain value while still guaranteeing a conforming environment.”