Home
last modified time | relevance | path

Searched refs:pathmax (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/pathchk/
H A Dpathchk.c99 long complen, namemax, pathmax, svnamemax; in check() local
167 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()
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_io.c3234 size_t remaining, search, pathmax; in fetch_sock_unix_tok() local
3248 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()