Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.65 FatalChapter 8
Standard Modules
Next: 8.67 fields
 

8.66 Fcntl

A translation of the C fcntl.h program that uses h2xs (which builds a Perl extension from a C header file) and the C compiler to translate #define symbols and make them available as functions. Exports the following routines by default; each routine returns the value of the #define that is the same as the routine name:

FD_CLOEXECF_DUPFDF_GETFDF_GETFLF_GETLK
F_RDLCKF_SETFDF_SETFLF_SETLKF_SETLKW
F_UNLCKF_WRLCKO_APPENDO_CREATO_EXCL
O_NDELAYO_NOCTTYO_NONBLOCKO_RDONLYO_RDWR
O_TRUNCO_WRONLY


Previous: 8.65 FatalPerl in a NutshellNext: 8.67 fields
8.65 FatalBook Index8.67 fields