plan9port/man/man3/getns.3

23 lines
465 B
Groff
Raw Normal View History

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
.IR intro (4)
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
.IR intro (4)