commit 233feb69cf7434f907fbcb9cf5b47f2e76b67fee
parent 70c9f86c100042ce308bc53e63c72f36be5e7f86
Author: Russ Cox <rsc@swtch.com>
Date: Sat, 14 Jun 2008 14:06:16 -0400
post9pservice(4): update
Diffstat:
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/man/man3/post9pservice.3 b/man/man3/post9pservice.3
@@ -7,7 +7,7 @@ post9pservice \- post 9P service for use by clients
.B #include <libc.h>
.PP
.B
-int post9pservice(int fd, char *name)
+int post9pservice(int fd, char *name, char *mtpt)
.SH DESCRIPTION
.I Post9pservice
invokes
@@ -22,8 +22,18 @@ Clients connecting to the posted service
are multiplexed onto a single 9P conversation with the server
on file descriptor
.IR fd .
+.PP
+If
+.I mtpt
+is non-nil,
+.I post9pservice
+mounts the service on
+.IR mtpt ,
+using
+.IR 9pfuse (4).
.SH "SEE ALSO
.IR intro (4),
+.IR 9pfuse (4),
.IR 9pserve (4)
.SH SOURCE
.B \*9/src/lib9/post9p.c