1 --- inet.3.bsdnew 2009-11-10 16:23:10.000000000 -0800
2 +++ inet.3 2009-11-10 16:35:18.000000000 -0800
22 .Nd Internet address manipulation routines
35 -.Fn inet_aton "const char *cp" "struct in_addr *pin"
38 +.Fa "struct in_addr *pin"
42 +.Fa "struct in_addr in"
50 -.Fn inet_addr "const char *cp"
52 +.Fa "struct in_addr in"
55 -.Fn inet_network "const char *cp"
60 -.Fn inet_ntoa "struct in_addr in"
62 +.Fa "struct in_addr in"
66 .Fa "struct in_addr in"
71 -.Fn inet_pton "int af" "const char * restrict src" "void * restrict dst"
73 -.Fn inet_makeaddr "in_addr_t net" "in_addr_t lna"
75 -.Fn inet_lnaof "struct in_addr in"
77 -.Fn inet_netof "struct in_addr in"
80 +.Fa "const char * restrict src"
81 +.Fa "void * restrict dst"
86 @@ -241,9 +258,6 @@ The
92 -was not large enough to store the presentation form of the address.
93 .It Bq Er EAFNOSUPPORT
96 @@ -251,7 +265,17 @@ was not an
102 +was not large enough to store the presentation form of the address.
105 +.Fd #include <sys/types.h>
106 +.Fd #include <sys/socket.h>
107 +.Fd #include <netinet/in.h>
108 +.Fd #include <arpa/inet.h>
110 +These include files are necessary for all functions.