posix_pathconf() constants

The maximum number of links a given file or directory can have. Available as of PHP 8.3.0.
POSIX_PC_MAX_CANON (int)
The maximum number of bytes in a terminal canonical input buffer (pathname being then a character special file). Available as of PHP 8.3.0.
POSIX_PC_MAX_INPUT (int)
The maximum number of bytes of a terminal input queue (pathname being then a character special file). Available as of PHP 8.3.0.
POSIX_PC_NAME_MAX (int)
The maximum number of characters for a file name alone, not its path. Available as of PHP 8.3.0.
POSIX_PC_PATH_MAX (int)
The maximum number of characters for a full path name. Available as of PHP 8.3.0.
POSIX_PC_PIPE_BUF (int)
The maximum number of bytes that can be written to a pipe in one operation. Available as of PHP 8.3.0.
POSIX_PC_CHOWN_RESTRICTED (int)
If privileges are required to be allow chown() to work. Available as of PHP 8.3.0.
POSIX_PC_NO_TRUNC (int)
If a file name (or files under a directory) is longer than POSIX_PC_NAME_MAX. Available as of PHP 8.3.0.
POSIX_PC_ALLOC_SIZE_MIN (int)
The minimum number of bytes of storage allocated for any portion of a file. Available as of PHP 8.3.0.
The maximum number of symbolic links a given file or directory can have. Available as of PHP 8.3.0.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top