dots

Personal dotfiles
git clone git://git.gormless.xyz/dots.git
Log | Files | Refs

post9pservice.3 (675B)


      1 .TH POST9PSERVICE 3
      2 .SH NAME
      3 post9pservice \- post 9P service for use by clients
      4 .SH SYNOPSIS
      5 .B #include <u.h>
      6 .br
      7 .B #include <libc.h>
      8 .PP
      9 .B
     10 int post9pservice(int fd, char *name, char *mtpt)
     11 .SH DESCRIPTION
     12 .I Post9pservice
     13 invokes
     14 .MR 9pserve (4)
     15 to post a new 9P service in the current 
     16 ``name space''
     17 (see
     18 .MR intro (4) )
     19 named
     20 .IR name .
     21 Clients connecting to the posted service
     22 are multiplexed onto a single 9P conversation with the server
     23 on file descriptor
     24 .IR fd .
     25 .PP
     26 If
     27 .I mtpt
     28 is non-nil,
     29 .I post9pservice
     30 mounts the service on
     31 .IR mtpt ,
     32 using
     33 .MR 9pfuse (4) .
     34 .SH "SEE ALSO
     35 .MR intro (4) ,
     36 .MR 9pfuse (4) ,
     37 .MR 9pserve (4)
     38 .SH SOURCE
     39 .B \*9/src/lib9/post9p.c