1 --- inet.3 2004-11-25 11:38:29.000000000 -0800
2 +++ inet.3.edit 2006-07-12 11:23:50.000000000 -0700
21 .Nd Internet address manipulation routines
34 -.Fn inet_aton "const char *cp" "struct in_addr *pin"
37 +.Fa "struct in_addr *pin"
40 -.Fn inet_addr "const char *cp"
42 +.Fa "struct in_addr in"
50 -.Fn inet_network "const char *cp"
52 +.Fa "struct in_addr in"
59 -.Fn inet_ntoa "struct in_addr in"
61 +.Fa "struct in_addr in"
66 -.Fa "const void * restrict src"
67 -.Fa "char * restrict dst"
68 +.Fa "const void *restrict src"
69 +.Fa "char *restrict dst"
73 -.Fn inet_pton "int af" "const char * restrict src" "void * restrict dst"
75 -.Fn inet_makeaddr "in_addr_t net" "in_addr_t lna"
77 -.Fn inet_lnaof "struct in_addr in"
79 -.Fn inet_netof "struct in_addr in"
82 +.Fa "const char *restrict src"
83 +.Fa "void *restrict dst"
92 interpret character strings representing
99 -was not large enough to store the presentation form of the address.
100 .It Bq Er EAFNOSUPPORT
103 @@ -252,13 +266,24 @@
109 +was not large enough to store the presentation form of the address.
112 +.Fd #include <sys/types.h>
113 +.Fd #include <sys/socket.h>
114 +.Fd #include <netinet/in.h>
115 +.Fd #include <arpa/inet.h>
117 +These include files are necessary for all functions.
121 .Xr gethostbyname 3 ,