summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ipx.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/ipx.3')
-rw-r--r--src/lib/libc/net/ipx.318
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libc/net/ipx.3 b/src/lib/libc/net/ipx.3
index 28113d705e..8cc36f0814 100644
--- a/src/lib/libc/net/ipx.3
+++ b/src/lib/libc/net/ipx.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ipx.3,v 1.4 1999/05/23 14:11:01 aaron Exp $ 1.\" $OpenBSD: ipx.3,v 1.5 1999/07/05 04:40:59 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1986, 1991, 1993 3.\" Copyright (c) 1986, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@
41.Sh SYNOPSIS 41.Sh SYNOPSIS
42.Fd #include <sys/types.h> 42.Fd #include <sys/types.h>
43.Fd #include <netipx/ipx.h> 43.Fd #include <netipx/ipx.h>
44.Ft struct ipx_addr 44.Ft struct ipx_addr
45.Fn ipx_addr "char *cp" 45.Fn ipx_addr "char *cp"
46.Ft char * 46.Ft char *
47.Fn ipx_ntoa "struct ipx_addr ipx" 47.Fn ipx_ntoa "struct ipx_addr ipx"
@@ -65,11 +65,11 @@ notation in common use:
65.Ed 65.Ed
66.Pp 66.Pp
67Trailing zero fields are suppressed, and each number is printed in hexadecimal, 67Trailing zero fields are suppressed, and each number is printed in hexadecimal,
68in a format suitable for input to 68in a format suitable for input to
69.Fn ipx_addr . 69.Fn ipx_addr .
70Any fields lacking super-decimal digits will have a 70Any fields lacking super-decimal digits will have a
71trailing 71trailing
72.Ql H 72.Sq H
73appended. 73appended.
74.Pp 74.Pp
75An effort has been made to insure that 75An effort has been made to insure that
@@ -78,11 +78,11 @@ be compatible with most formats in common use.
78It will first separate an address into 1 to 3 fields using a single delimiter 78It will first separate an address into 1 to 3 fields using a single delimiter
79chosen from 79chosen from
80period 80period
81.Ql \&. , 81.Pq Ql \&. ,
82colon 82colon
83.Ql \&: 83.Pq Ql \&: ,
84or pound-sign 84or pound-sign
85.Ql \&# . 85.Pq Ql # .
86Each field is then examined for byte separators (colon or period). 86Each field is then examined for byte separators (colon or period).
87If there are byte separators, each subfield separated is taken to be 87If there are byte separators, each subfield separated is taken to be
88a small hexadecimal number, and the entirety is taken as a network-byte-ordered 88a small hexadecimal number, and the entirety is taken as a network-byte-ordered
@@ -96,7 +96,7 @@ as hexadecimal if there is a leading
96.Ql 0x 96.Ql 0x
97(as in C), 97(as in C),
98a trailing 98a trailing
99.Ql H 99.Sq H
100(as in Mesa), or there are any super-decimal digits present. 100(as in Mesa), or there are any super-decimal digits present.
101It is interpreted as octal is there is a leading 101It is interpreted as octal is there is a leading
102.Ql 0 102.Ql 0
@@ -114,7 +114,7 @@ The precursor
114.Fn ns_addr 114.Fn ns_addr
115and 115and
116.Fn ns_ntoa 116.Fn ns_ntoa
117functions appeared in 117functions appeared in
118.Bx 4.3 . 118.Bx 4.3 .
119.Sh BUGS 119.Sh BUGS
120The string returned by 120The string returned by