mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
d32deab17b
Suggested by G. Brandon Robinson.
22 lines
465 B
Groff
22 lines
465 B
Groff
.TH GETNS 3
|
|
.SH NAME
|
|
getns \- get path to name space directory
|
|
.SH SYNOPSIS
|
|
.B #include <u.h>
|
|
.br
|
|
.B #include <libc.h>
|
|
.PP
|
|
.B
|
|
char* getns(void)
|
|
.SH DESCRIPTION
|
|
.I 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; see
|
|
.MR intro (4)
|
|
for details.
|
|
.SH SOURCE
|
|
.B \*9/src/lib9/getns.c
|
|
.SH SEE ALSO
|
|
.MR intro (4)
|