diff --git a/reference/posix/constants.xml b/reference/posix/constants.xml index 61f75b428025..cfe67e02a748 100644 --- a/reference/posix/constants.xml +++ b/reference/posix/constants.xml @@ -381,6 +381,188 @@ + +
+ <function>posix_pathconf</function> constants + + + + POSIX_PC_LINK_MAX + (int) + + + + 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. + + + + + + POSIX_PC_ALLOC_SYMLINK_MAX + (int) + + + + The maximum number of symbolic links a given file or directory can have. + Available as of PHP 8.3.0. + + + + +
+ +
+ <function>posix_sysconf</function> constants + + + + POSIX_SC_ARG_MAX + (int) + + + + The maximum number of bytes the arguments (and environment variables) can have. + Available as of PHP 8.3.0. + + + + + + POSIX_SC_PAGESIZE + (int) + + + + The number of bytes of the current page. + Available as of PHP 8.3.0. + + + + + + POSIX_SC_NPROCESSORS_CONF + (int) + + + + The number of cpus configured system wise. + Available as of PHP 8.3.0. + + + + + + POSIX_SC_NPROCESSORS_ONLN + (int) + + + + The number of cpus currently active system wise. + Available as of PHP 8.3.0. + + + + +