diff options
author | millert <> | 1997-04-05 21:13:17 +0000 |
---|---|---|
committer | millert <> | 1997-04-05 21:13:17 +0000 |
commit | 9156235dba65010d9f983e3b8fc0e0b2739c78d4 (patch) | |
tree | 178131fb064d2fb2a659152bdfbfb0c0bb5788cd /src/lib/libc/net/inet.3 | |
parent | 06967c8a88bc843a5afe2987c242b4f744a4dabf (diff) | |
download | openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.tar.gz openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.tar.bz2 openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.zip |
Use in_addr_t not u_long and use in_port_t in some cases instead
of u_short or u_int16_t.
Diffstat (limited to 'src/lib/libc/net/inet.3')
-rw-r--r-- | src/lib/libc/net/inet.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3 index 4b31ddc949..db28804e32 100644 --- a/src/lib/libc/net/inet.3 +++ b/src/lib/libc/net/inet.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet.3,v 1.2 1996/08/19 08:29:06 tholo Exp $ | 1 | .\" $OpenBSD: inet.3,v 1.3 1997/04/05 21:13:10 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -49,17 +49,17 @@ | |||
49 | .Fd #include <arpa/inet.h> | 49 | .Fd #include <arpa/inet.h> |
50 | .Ft int | 50 | .Ft int |
51 | .Fn inet_aton "const char *cp" "struct in_addr *pin" | 51 | .Fn inet_aton "const char *cp" "struct in_addr *pin" |
52 | .Ft unsigned long | 52 | .Ft in_addr_t |
53 | .Fn inet_addr "const char *cp" | 53 | .Fn inet_addr "const char *cp" |
54 | .Ft unsigned long | 54 | .Ft in_addr_t |
55 | .Fn inet_network "const char *cp" | 55 | .Fn inet_network "const char *cp" |
56 | .Ft char * | 56 | .Ft char * |
57 | .Fn inet_ntoa "struct in_addr in" | 57 | .Fn inet_ntoa "struct in_addr in" |
58 | .Ft struct in_addr | 58 | .Ft struct in_addr |
59 | .Fn inet_makeaddr "int net" "int lna" | 59 | .Fn inet_makeaddr "int net" "int lna" |
60 | .Ft unsigned long | 60 | .Ft in_addr_t |
61 | .Fn inet_lnaof "struct in_addr in" | 61 | .Fn inet_lnaof "struct in_addr in" |
62 | .Ft unsigned long | 62 | .Ft in_addr_t |
63 | .Fn inet_netof "struct in_addr in" | 63 | .Fn inet_netof "struct in_addr in" |
64 | .Sh DESCRIPTION | 64 | .Sh DESCRIPTION |
65 | The routines | 65 | The routines |