大网数据广告活动
PHP 语言与运行手册

posix_pathconf constants

· 52CE 我爱测

The maximum number of links a given file or directory can have. Available as of PHP 8.3.0.

posix_pathconf() 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.

POSIX_PC_SYMLINK_MAX (int)

The maximum number of bytes in a symbolic link. Available as of PHP 8.3.0.

来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
PHP Documentation Group
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。