GETNS(3)

πŸ“¦ version 0_git20260208, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

okay so bestie πŸ’– this is GETNS(3) from the Library Functions Manual, and she's here to hand you the path to your process's name space directory. no cap.

πŸŽ€ NAME πŸŽ€

getns β€” get path to name space directory

✨ SYNOPSIS ✨

#include <u.h>
#include <libc.h>

char*     getns(void)

πŸ¦‹ DESCRIPTION πŸ¦‹

Getns returns a pointer to a malloced string that contains the path to the name space directory for the current process. πŸ’…

The name space directory is a clumsy substitute for Plan 9's per-process name spaces β€” yes, clumsy, the manual said it, not me 😭. see intro(4) for details.

🌸 SOURCE 🌸

/src/lib9/getns.c

🌈 SEE ALSO 🌈


that's the whole page, bestie β€” GETNS(3), Library Functions Manual, signing off πŸ«ΆπŸ’–