closefrom
---------

Documentation:

Opening and Closing Files (libc)

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: glibc 2.33, macOS 14, FreeBSD 7.2, Minix 3.3.0, AIX 7.1, HP-UX 11.31, Cygwin 2.9, mingw, MSVC 14, Android 9.0.

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.''