ixp_namespace.3 (839B)
1 .TH "IXP_NAMESPACE" 3 "2010 Jun" "libixp Manual" 2 3 .SH NAME 4 .P 5 ixp_namespace 6 7 .SH SYNOPSIS 8 .nf 9 #include <ixp.h> 10 11 char *ixp_namespace(void); 12 .fi 13 14 .SH DESCRIPTION 15 .P 16 Returns the path of the canonical 9p namespace directory. 17 Either the value of \fB$NAMESPACE\fR, if it's set, or, roughly, 18 /tmp/ns.\fB${USER\fR\fB}\fR.\fB${DISPLAY\fR:%.0=%\fB}\fR. In the latter case, the 19 directory is created if it doesn't exist, and it is 20 ensured to be owned by the current user, with no group or 21 other permissions. 22 23 .SH RETURN VALUE 24 .P 25 A statically allocated string which must not be freed 26 or altered by the caller. The same value is returned 27 upon successive calls. 28 29 .SH BUGS 30 .P 31 This function is not thread safe until after its first 32 call. 33 34 35 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net) 36 .\" cmdline: txt2tags -o- ixp_namespace.man3 37