Your skill will accomplish what the force of many cannot |
|
PerlMonks |
perlman:lib:Fcntlby root (Monk) |
on Dec 23, 1999 at 00:49 UTC ( [id://1111]=perlfunc: print w/replies, xml ) | Need Help?? |
lib:FcntlSee 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.
NOTE
Only
EXPORTED SYMBOLSBy 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
You can request that the old constants
(FAPPEND,
FASYNC,
FCREAT,
FDEFER,
FEXCL,
FNDELAY,
FNONBLOCK,
FSYNC,
FTRUNC) be provided for compatibility reasons by using the tag
Please refer to your native
|
|