7.2.26 Fcntl - Load the C fcntl.h Definesuse Fcntl; $nonblock_flag = O_NDELAY(); $create_flag = O_CREAT(); $read_write_flag = O_RDWR(); This module is just a translation of the C fcntl.h file. Unlike the old mechanism which required a translated fcntl.ph file, fcntl uses the h2xs program (see the Perl source distribution) and your native C compiler. This means that it has a much better chance of getting the numbers right.
Note that only
The following routines are exported by default, and each routine returns the value
of the
|
|