rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 1 | .TH GETNS 3 |
| 2 | .SH NAME |
| 3 | getns \- get path to name space directory |
| 4 | .SH SYNOPSIS |
| 5 | .B #include <u.h> |
| 6 | .br |
| 7 | .B #include <libc.h> |
| 8 | .PP |
| 9 | .B |
| 10 | char* getns(void) |
| 11 | .SH DESCRIPTION |
| 12 | .I Getns |
| 13 | returns a pointer to a malloced string that contains the |
| 14 | path to the name space directory for the current process. |
| 15 | The name space directory is a clumsy substitute |
| 16 | for Plan 9's per-process name spaces; see |
| 17 | .IR intro (4) |
| 18 | for details. |
| 19 | .SH SOURCE |
rsc | c3674de | 2005-01-11 17:37:33 +0000 | [diff] [blame] | 20 | .B \*9/src/lib9/getns.c |
rsc | 058b011 | 2005-01-03 06:40:20 +0000 | [diff] [blame] | 21 | .SH SEE ALSO |
| 22 | .IR intro (4) |