From d93fca6a7ab52f518d3e8aca1fc94139313b97ad Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 Feb 2005 19:21:47 +0000 Subject: new man pages --- man/man3/9p.3 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'man/man3/9p.3') 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 -- cgit v1.2.3