Book HomeJava and XSLTSearch this book

8.93. 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_CLOEXEC

 

F_DUPFD

 

F_GETFD

 

F_GETFL

 

F_GETLK

 

F_RDLCK

 

F_SETFD

 

F_SETFL

 

F_SETLK

F_SETLKW

F_UNLCK

F_WRLCK

O_APPEND

O_CREAT

O_EXCL

O_NDELAY

O_NOCTTY

O_NONBLOCK

O_RDONLY

O_RDWR

O_TRUNC

O_WRONLY

     



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.