PATHS(3)
π NAME π
okay bestie, welcome to PATHS(3) β the Library Functions Manual page for paths, aka your little guide to the default system paths π
β¨
paths β default system paths π«Ά
β¨ SYNOPSIS β¨
#include <paths.h>
π DESCRIPTION π
so the <paths.h> header defines some default paths used in NetBSD, and honestly? it's giving quiet-but-essential icon behavior π
all the defined constants are prefixed with _PATH, no cap. the constants include:
- the default user search path set by
login(1)and associated utilities such asrshd(8)β this is defined by_PATH_DEFPATHand includes directories such as/usr/binand/usr/local/binπΈ - default paths for some utilities and device nodes β examples include such paths as
/dev/null(_PATH_DEVNULL),/dev/mem(_PATH_MEM), and/etc/nologin(_PATH_NOLOGIN), among others π¦ - paths for some default directories such as
/dev(_PATH_DEV) and/tmp(_PATH_TMP) as well as paths for some miscellaneous utilities such ascsh(1),/bin/csh(_PATH_CSHELL) π
π SEE ALSO π
β οΈ CAVEATS β οΈ
bestie, hear me: the <paths.h> header is specific to NetBSD ππ like, it's not out here being all portable and universal β that's the caveat, periodt.
mwah π this page came from source/version Debian, dated April 8, 2011, and it's the PATHS(3) page β sign-off slayed, bye bestie πβ¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2011 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms