[Chapter 8] 8.66 Fcntl
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:46:55Z

#

| Chapter 8 Standard Modules |

## 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_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` |  |  |

8.65 Fatal |  | 8.67 fields