|Just another Perl shrine|
perlman:lib:Fcntlby root (Scribe)
|on Dec 23, 1999 at 00:49 UTC||Need Help??|
See the current Perl documentation for lib:Fcntl.
Here is our local, out-dated (pre-5.6) version:
Fcntl - load the C Fcntl.h defines
use Fcntl; use Fcntl qw(:DEFAULT :flock);
This module is just a translation of the C fnctl.h file. Unlike the old mechanism of requiring a translated fnctl.ph file, this uses the h2xs program (see the Perl source distribution) and your native C compiler. This means that it has a far more likely chance of getting the numbers right.
By default your system's F_* and O_* constants (eg, F_DUPFD and O_CREAT) and the FD_CLOEXEC constant are exported into your namespace.
You can request that the old constants
FTRUNC) be provided for compatibility reasons by using the tag
Please refer to your native