PATHS(3)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸŽ€ 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 as rshd(8) β€” this is defined by _PATH_DEFPATH and includes directories such as /usr/bin and /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 as csh(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