Blob
1 .TH POST9PSERVICE 32 .SH NAME3 post9pservice \- post 9P service for use by clients4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .B10 int post9pservice(int fd, char *name, char *mtpt)11 .SH DESCRIPTION12 .I Post9pservice13 invokes14 .IR 9pserve (4)15 to post a new 9P service in the current16 ``name space''17 (see18 .IR intro (4))19 named20 .IR name .21 Clients connecting to the posted service22 are multiplexed onto a single 9P conversation with the server23 on file descriptor24 .IR fd .25 .PP26 If27 .I mtpt28 is non-nil,29 .I post9pservice30 mounts the service on31 .IR mtpt ,32 using33 .IR 9pfuse (4).34 .SH "SEE ALSO35 .IR intro (4),36 .IR 9pfuse (4),37 .IR 9pserve (4)38 .SH SOURCE39 .B \*9/src/lib9/post9p.c