aboutsummaryrefslogtreecommitdiff
path: root/man/man3/venti-conn.3
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man3/venti-conn.3
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
Diffstat (limited to 'man/man3/venti-conn.3')
-rw-r--r--man/man3/venti-conn.322
1 files changed, 11 insertions, 11 deletions
diff --git a/man/man3/venti-conn.3 b/man/man3/venti-conn.3
index ea597de3..0c1b95d5 100644
--- a/man/man3/venti-conn.3
+++ b/man/man3/venti-conn.3
@@ -90,21 +90,21 @@ for reading and writing.
.I Vtdial
dials the given network address
(see
-.IR dial (3))
+.IM dial (3) )
and returns a corresponding connection.
It returns nil if the connection cannot be established.
.PP
.I Vtversion
exchanges version information with the remote side
as described in
-.IR venti (7).
+.IM venti (7) .
The negotiated version is stored in
.IB z ->version \fR.
.PP
.I Vtsend
writes a packet
(see
-.IR venti-packet (3))
+.IM venti-packet (3) )
on the connection
.IR z .
The packet
@@ -115,7 +115,7 @@ be returned by
.I vtsend
will add the two-byte length field
(see
-.IR venti (7))
+.IM venti (7) )
at the begnning.
.I Vtsend
frees
@@ -137,7 +137,7 @@ and
block until the packet can be written or read from the network.
In a threaded program
(see
-.IR thread (3)),
+.IM thread (3) ),
this may not be desirable.
If the caller arranges for
.IR vtsendproc
@@ -192,12 +192,12 @@ as they are sent or received.
.SH SOURCE
.B \*9/src/libventi
.SH SEE ALSO
-.IR venti (1),
-.IR venti (3),
-.IR venti-client (3),
-.IR venti-packet (3),
-.IR venti-server (3),
-.IR venti (7)
+.IM venti (1) ,
+.IM venti (3) ,
+.IM venti-client (3) ,
+.IM venti-packet (3) ,
+.IM venti-server (3) ,
+.IM venti (7)
.SH DIAGNOSTICS
Routines that return pointers return nil on error.
Routines returning integers return 0 on success, \-1 on error.