post9pservice(4): update
This commit is contained in:
parent
70c9f86c10
commit
233feb69cf
1 changed files with 11 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ post9pservice \- post 9P service for use by clients
|
||||||
.B #include <libc.h>
|
.B #include <libc.h>
|
||||||
.PP
|
.PP
|
||||||
.B
|
.B
|
||||||
int post9pservice(int fd, char *name)
|
int post9pservice(int fd, char *name, char *mtpt)
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.I Post9pservice
|
.I Post9pservice
|
||||||
invokes
|
invokes
|
||||||
|
|
@ -22,8 +22,18 @@ Clients connecting to the posted service
|
||||||
are multiplexed onto a single 9P conversation with the server
|
are multiplexed onto a single 9P conversation with the server
|
||||||
on file descriptor
|
on file descriptor
|
||||||
.IR fd .
|
.IR fd .
|
||||||
|
.PP
|
||||||
|
If
|
||||||
|
.I mtpt
|
||||||
|
is non-nil,
|
||||||
|
.I post9pservice
|
||||||
|
mounts the service on
|
||||||
|
.IR mtpt ,
|
||||||
|
using
|
||||||
|
.IR 9pfuse (4).
|
||||||
.SH "SEE ALSO
|
.SH "SEE ALSO
|
||||||
.IR intro (4),
|
.IR intro (4),
|
||||||
|
.IR 9pfuse (4),
|
||||||
.IR 9pserve (4)
|
.IR 9pserve (4)
|
||||||
.SH SOURCE
|
.SH SOURCE
|
||||||
.B \*9/src/lib9/post9p.c
|
.B \*9/src/lib9/post9p.c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue