Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAMEFcntl - load the C Fcntl.h defines
use Fcntl; use Fcntl qw(:DEFAULT :flock);
DESCRIPTIONThis module is just a translation of the C fcntl.h file. Unlike the old mechanism of requiring a translated fcntl.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.
NOTEOnly "#define" symbols get translated; you must still correctly pack up your own arguments to pass as args for locking functions, etc.
EXPORTED SYMBOLSBy default your system's F_* and O_* constants (eg, F_DUPFD and O_CREAT) and the
You can request that the flock() constants (
You can request that the old constants (
For ease of use also the SEEK_* constants (for seek() and sysseek(), e.g.
Please refer to your native fcntl(2), open(2), fseek(3), lseek(2) (equal to Perl's seek() and sysseek(), respectively), and chmod(2) documentation to see what constants are implemented in your system.
See perlopentut to learn about the uses of the O_* constants with sysopen().
See ``seek'' in perlfunc and ``sysseek'' in perlfunc about the SEEK_* constants.
See ``stat'' in perlfunc about the S_I* constants.