diff options
author | rsc <devnull@localhost> | 2005-02-11 19:21:47 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-11 19:21:47 +0000 |
commit | d93fca6a7ab52f518d3e8aca1fc94139313b97ad (patch) | |
tree | b2c26f27a62a45314add2905be70f1c0385c4e19 /man/man3/9p.3 | |
parent | 7442c7ac4b30dd1945d00516931f548d65d3d814 (diff) | |
download | plan9port-d93fca6a7ab52f518d3e8aca1fc94139313b97ad.tar.gz plan9port-d93fca6a7ab52f518d3e8aca1fc94139313b97ad.tar.bz2 plan9port-d93fca6a7ab52f518d3e8aca1fc94139313b97ad.zip |
new man pages
Diffstat (limited to 'man/man3/9p.3')
-rw-r--r-- | man/man3/9p.3 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/man/man3/9p.3 b/man/man3/9p.3 index 109c452e..56f0cef3 100644 --- a/man/man3/9p.3 +++ b/man/man3/9p.3 @@ -46,6 +46,7 @@ typedef struct Srv { void (*destroyfid)(Fid *fid); void (*destroyreq)(Req *r); + void (*start)(Srv *s); void (*end)(Srv *s); void* aux; @@ -308,7 +309,7 @@ These constraints are checked while the server executes. If a service function fails to do something it ought to have, .I srv will call -.I endsrv +.I end and then abort. .TP .I Auth @@ -654,6 +655,7 @@ has been sent. .PP .IR Destroyfid , .IR destroyreq , +.IR start , and .I end are auxiliary functions, not called in direct response to 9P requests. @@ -684,6 +686,12 @@ is called to allow the program to dispose of the .IB r -> aux pointer. .TP +.I Start +Before the 9P service loop begins, the service proc calls +.I start +so that the server can run any initialization that must be +done from inside the service proc. +.TP .I End Once the 9P service loop has finished (end of file been reached on the service pipe |