various small fixes to the venti-*(2) man pages Reference: /n/sources/patch/venti-man-2-nits Date: Tue Mar 25 04:58:14 CET 2014 Signed-off-by: quanstro@quanstro.net --- /sys/man/2/venti-log Tue Mar 25 04:57:45 2014 +++ /sys/man/2/venti-log Tue Mar 25 04:57:44 2014 @@ -8,6 +8,7 @@ vtlognames, vtlogopen, vtlogprint, +vtlogvprint, vtlogremove, vtlogopen, ventilogging \- Venti logs @@ -27,6 +28,9 @@ void vtlogprint(VtLog *log, char *fmt, ...); .PP .B +void vtlogvprint(VtLog *log, va_list arg); +.PP +.B void vtlogclose(VtLog *log); .PP .B @@ -68,7 +72,9 @@ .IR vtlogopen . .PP .I Vtlogprint -writes to +and +.I vtlogvprint +write to .IR log , which must be open. .PP --- /sys/man/2/venti-packet Tue Mar 25 04:57:47 2014 +++ /sys/man/2/venti-packet Tue Mar 25 04:57:46 2014 @@ -122,7 +122,7 @@ .IR p . This may be larger than the number of bytes stored in -.IR p +.I p because fragments may not be filled completely. .PP .I Packetcmp --- /sys/man/2/venti-client Tue Mar 25 04:57:50 2014 +++ /sys/man/2/venti-client Tue Mar 25 04:57:48 2014 @@ -1,6 +1,6 @@ .TH VENTI-CLIENT 2 .SH NAME -vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtrpc, ventidoublechecksha1 \- Venti client +vtconnect, vthello, vtread, vtwrite, vtreadpacket, vtwritepacket, vtsync, vtping, vtgoodbye, vtrpc, ventidoublechecksha1 \- Venti client .SH SYNOPSIS .ft L #include @@ -50,6 +50,9 @@ int vtping(VtConn *z) .PP .B +int vtgoodbye(VtConn *z) +.PP +.B extern int ventidoublechecksha1; /* default 1 */ .SH DESCRIPTION These routines execute the client side of the @@ -59,7 +62,7 @@ .I Vtrpc executes a single Venti RPC transaction, sending the request packet -.IR p +.I p and then waiting for and returning the response packet. .I Vtrpc will set the tag in the packet. @@ -141,6 +144,9 @@ .PP .I Vtping executes a ping transaction with the server. +.PP +.I Vtgoodbye +closes the connection. .PP By default, .I vtread