Searched refs:pathmax (Results 1 – 2 of 2) sorted by relevance
99 long complen, namemax, pathmax, svnamemax; in check() local167 pathmax = pathconf(path, _PC_PATH_MAX); in check()168 if (pathmax == -1 && errno != 0) in check()169 pathmax = PATH_MAX; in check()171 pathmax = _POSIX_PATH_MAX; in check()172 if (pathmax != -1 && strlen(path) >= (size_t)pathmax) { in check()173 warnx("%s: path too long (limit %ld)", path, pathmax - 1); in check()
3234 size_t remaining, search, pathmax; in fetch_sock_unix_tok() local3248 pathmax = sizeof(tok->tt.sockunix.path); in fetch_sock_unix_tok()3250 search = remaining < pathmax ? remaining : pathmax; in fetch_sock_unix_tok()3258 tok->tt.sockunix.path[pathmax - 1] = '\0'; in fetch_sock_unix_tok()