Querying filesystem limits
You can query the path-specific configuration limits to determine some of the properties and limits of a specific filesystem:
- Maximum value of a file's link count.
- Maximum number of bytes in a terminal's canonical input buffer (edit buffer).
- Maximum number of bytes in a terminal's raw input buffer.
- Maximum number of bytes in a filename (not including the terminating null).
- Maximum number of bytes in a pathname (not including the terminating null).
- Maximum number of bytes that can be written atomically when writing to a pipe.
- If defined (not -1), indicates that the use of the chown() function is restricted to a process with appropriate privileges, and to changing the group ID of a file to the effective group ID of the process or to one of its supplementary group IDs.
- If defined (not -1), indicates that the use of pathname components longer than the value given by _PC_NAME_MAX will generate an error.
- If defined (not -1), this is the character value that can be used to individually disable special control characters in the termios control structure.
For more information, see Configurable limits , above.