POSIX
Provides access to standard POSIX 1003.1 identifiers:
functions, classes, and constants. Can be used to import one or multiple
symbols:
use POSIX; # Import all symbols use POSIX qw(setsid); # Import one symbol use POSIX qw(:errno_h :fcntl_h); # Import sets of symbols
Functions listed as C-specific are not implemented.
Function | Description |
|---|---|
| Identical to C function |
| Identical to C function |
| Identical to Perl’s |
| Determines accessibility of a file; returns
|
| Identical to C function |
| Identical to Perl’s |
| Identical to C function |
| Identical to C function |
| Similar to C macro |
| Identical to C function |
| Identical to Perl’s |
| C-specific; use |
| C-specific |
| C-specific |
| C-specific |
| Not supplied |
| C-specific |
| Identical to C function |
| Identical to Perl’s |
| Identical to Perl’s |
| Identical to Perl’s |
| Uses method |
| Identical to C function |
| Closes a file; returns |
| Identical to Perl’s |
| Identical to Perl’s |
| Identical to C function |
| Creates a new file |
| Generates pathname for the controlling terminal |
| Identical to C function |
| Gets user’s login name |
| Identical ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access