aboutsummaryrefslogtreecommitdiff
path: root/man/man3/dial.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-07-23 02:56:37 +0000
committerrsc <devnull@localhost>2006-07-23 02:56:37 +0000
commit6215fd56f1c9d9392806efd1ac499f91c8ae83fb (patch)
treed1e089619e07beb3c41d2c68879708bb1d5e9348 /man/man3/dial.3
parent73a5509ae929e41ca0047254a880c8efd4aa72a1 (diff)
downloadplan9port-6215fd56f1c9d9392806efd1ac499f91c8ae83fb.tar.gz
plan9port-6215fd56f1c9d9392806efd1ac499f91c8ae83fb.tar.bz2
plan9port-6215fd56f1c9d9392806efd1ac499f91c8ae83fb.zip
experiment: translation from standard notations to plan 9 in netmkaddr
Diffstat (limited to 'man/man3/dial.3')
-rw-r--r--man/man3/dial.316
1 files changed, 16 insertions, 0 deletions
diff --git a/man/man3/dial.3 b/man/man3/dial.3
index 7177e53e..5c645287 100644
--- a/man/man3/dial.3
+++ b/man/man3/dial.3
@@ -162,6 +162,22 @@ It takes an address along with a default network and service to use
if they are not specified in the address.
It returns a pointer to static data holding the actual address to use.
.PP
+.I Netmkaddr
+also translates Unix conventions into Plan 9 syntax.
+If
+.I addr
+is the name of a local file or Unix domain socket,
+.I netmkaddr
+will return
+.IB unix ! addr \fR.
+If
+.I addr
+is of the form
+.IB host : port \fR,
+.I netmkaddr
+will return
+.IB net ! host ! port \fR.
+.PP
.I Dialparse
parses a network address as described above
into a network name, a Unix domain socket address,