Loading...
net/FreeBSD/inet.3.patch Libc-763.12 Libc-594.9.5
--- Libc/Libc-763.12/net/FreeBSD/inet.3.patch
+++ Libc/Libc-594.9.5/net/FreeBSD/inet.3.patch
@@ -1,6 +1,6 @@
---- inet.3.bsdnew	2009-11-10 16:23:10.000000000 -0800
-+++ inet.3	2009-11-10 16:35:18.000000000 -0800
-@@ -32,32 +32,51 @@
+--- inet.3	2004-11-25 11:38:29.000000000 -0800
++++ inet.3.edit	2006-07-12 11:23:50.000000000 -0700
+@@ -36,50 +36,67 @@
  .Dt INET 3
  .Os
  .Sh NAME
@@ -12,7 +12,6 @@
 +.Nm inet_netof ,
  .Nm inet_network ,
  .Nm inet_ntoa ,
- .Nm inet_ntoa_r ,
  .Nm inet_ntop ,
 -.Nm inet_pton ,
 -.Nm inet_makeaddr ,
@@ -37,7 +36,8 @@
 +.Fa "const char *cp"
 +.Fa "struct in_addr *pin"
 +.Fc
-+.Ft in_addr_t
+ .Ft in_addr_t
+-.Fn inet_addr "const char *cp"
 +.Fo inet_lnaof
 +.Fa "struct in_addr in"
 +.Fc
@@ -47,12 +47,11 @@
 +.Fa "in_addr_t lna"
 +.Fc
  .Ft in_addr_t
--.Fn inet_addr "const char *cp"
+-.Fn inet_network "const char *cp"
 +.Fo inet_netof
 +.Fa "struct in_addr in"
 +.Fc
- .Ft in_addr_t
--.Fn inet_network "const char *cp"
++.Ft in_addr_t
 +.Fo inet_network
 +.Fa "const char *cp"
 +.Fc
@@ -61,10 +60,13 @@
 +.Fo inet_ntoa
 +.Fa "struct in_addr in"
 +.Fc
- .Ft char *
- .Fo inet_ntoa_r
- .Fa "struct in_addr in"
-@@ -72,13 +91,11 @@
+ .Ft const char *
+ .Fo inet_ntop
+ .Fa "int af"
+-.Fa "const void * restrict src"
+-.Fa "char * restrict dst"
++.Fa "const void *restrict src"
++.Fa "char *restrict dst"
  .Fa "socklen_t size"
  .Fc
  .Ft int
@@ -77,13 +79,18 @@
 -.Fn inet_netof "struct in_addr in"
 +.Fo inet_pton
 +.Fa "int af"
-+.Fa "const char * restrict src"
-+.Fa "void * restrict dst"
++.Fa "const char *restrict src"
++.Fa "void *restrict dst"
 +.Fc
  .Sh DESCRIPTION
  The routines
  .Fn inet_aton ,
-@@ -241,9 +258,6 @@ The
+-.Fn inet_addr
++.Fn inet_addr ,
+ and
+ .Fn inet_network
+ interpret character strings representing
+@@ -242,9 +259,6 @@
  .Fn inet_ntop
  call fails if:
  .Bl -tag -width Er
@@ -93,7 +100,7 @@
  .It Bq Er EAFNOSUPPORT
  .Fa *src
  was not an
-@@ -251,7 +265,17 @@ was not an
+@@ -252,13 +266,24 @@
  or
  .Dv AF_INET6
  family address.
@@ -109,5 +116,12 @@
 +.Pp
 +These include files are necessary for all functions.
  .Sh SEE ALSO
+ .Xr addr2ascii 3 ,
  .Xr byteorder 3 ,
- .Xr getaddrinfo 3 ,
+ .Xr gethostbyname 3 ,
+ .Xr getnetent 3 ,
+ .Xr inet_net 3 ,
++.Xr compat 5 ,
+ .Xr hosts 5 ,
+ .Xr networks 5
+ .Rs