Perldoc Search: "$^F" perl-5.20.1

search official POD


3 PODs, 7 LINEs found.
perlfunc.pod
210 :         On systems that support a close-on-exec flag on files, the flag will be set for the newly opened file descriptor, as determined by the value of $^F. See "$^F" in perlvar.
2086 :         On systems that support a close-on-exec flag on files, the flag will be set for the newly opened file descriptor as determined by the value of $^F. See "$^F" in perlvar.
2608 :         On systems that support a close-on-exec flag on files, that flag is set on all newly opened file descriptors whose "fileno"s are *higher* than the current value of $^F (by default 2 for "STDERR"). See "$^F" in perlvar.
3339 :         On systems that support a close-on-exec flag on files, the flag will be set for the newly opened file descriptor, as determined by the value of $^F. See "$^F" in perlvar.
3344 :         On systems that support a close-on-exec flag on files, the flag will be set for the newly opened file descriptors, as determined by the value of $^F. See "$^F" in perlvar.
perlipc.pod
471 :     Certain built-in Unix features help prevent this most of the time. For instance, filehandles have a "close on exec" flag, which is set *en masse* under control of the $^F variable. This is so any filehandles you didn't explicitly route to the STDIN, STDOUT or STDERR of a child *program* will be automatically closed.
perlvar.pod
210 :     $^F     The maximum system file descriptor, ordinarily 2. System file descriptors are passed to "exec()"ed processes, while higher file descriptors are not. Also, during an "open()", system file descriptors are preserved even if the "open()" fails (ordinary file descriptors are closed before the "open()" is attempted). The close-on-exec status of a file descriptor will be decided according to the value of $^F when the corresponding file, pipe, or socket was opened, not the time of the "exec()".
<< Back to Perldoc Search