aboutsummaryrefslogtreecommitdiff
path: root/man/man3/getns.3
blob: cc76f2bfa6627c711c5ade0aa69454a426a1f068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.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 
.IR intro (4)
for details.
.SH SOURCE
.B /usr/local/plan9/src/lib9/getns.c
.SH SEE ALSO
.IR intro (4)