post9pservice – post 9P service for use by clients|
int post9pservice(int fd, char *name, char *mtpt)
Post9pservice invokes 9pserve(4) to post a new 9P service in the
current “name space” (see intro(4)) named name. Clients connecting
to the posted service are multiplexed onto a single 9P conversation
with the server on file descriptor fd.
If mtpt is non-nil, post9pservice mounts the service on mtpt,