GETNS(3)
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 π«Άπ
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms