fpathconf(3) Library Functions Manual fpathconf(3) fpathconf pathconf - (libc -lc) #include long fpathconf(int fd, int name); long pathconf(const char *path, int name); fpathconf() name fd. pathconf() name path. fpathconf() pathconf() . name : _PC_LINK_MAX . fd path . _POSIX_LINK_MAX. _PC_MAX_CANON fd path . _POSIX_MAX_CANON. _PC_MAX_INPUT fd path . _POSIX_MAX_INPUT. _PC_NAME_MAX path fd . _POSIX_NAME_MAX. _PC_PATH_MAX path fd . _POSIX_PATH_MAX. _PC_PIPE_BUF FIFO. fpathconf() fd FIFO. fpathconf() path FIFO FIFOs . _POSIX_PIPE_BUF. _PC_CHOWN_RESTRICTED chown(2) fchown(2) . POSIX.1 -1. _POSIX_CHOWN_RESTRICTED. fd path . _PC_NO_TRUNC _POSIX_NAME_MAX . _POSIX_NO_TRUNC. _PC_VDISABLE fd path . : o -1 errno ( EINVAL name ). o name -1 errno. ( errno errno -1). o name -1 . o . . EACCES (pathconf()) path. EBADF (fpathconf()) fd . EINVAL name . EINVAL name . ELOOP (pathconf()) path. ENAMETOOLONG (pathconf()) path . ENOENT (pathconf()) path path . ENOTDIR (pathconf()) path . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |fpathconf(),| | MT-Safe | |pathconf() | | | +------------+------------------------------------+--------------------+ POSIX.1-2008. POSIX.1-2001. name _PC_NAME_MAX . . getconf(1) open(2) statfs(2) confstr(3) sysconf(3) 3 . . : . 6.18 8 2026 fpathconf(3)