2005-01-03 06:40:20 +00:00
|
|
|
.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
|
2020-08-16 00:07:38 +00:00
|
|
|
.MR intro (4)
|
2005-01-03 06:40:20 +00:00
|
|
|
for details.
|
|
|
|
.SH SOURCE
|
2005-01-11 17:37:33 +00:00
|
|
|
.B \*9/src/lib9/getns.c
|
2005-01-03 06:40:20 +00:00
|
|
|
.SH SEE ALSO
|
2020-08-16 00:07:38 +00:00
|
|
|
.MR intro (4)
|