]> git.saurik.com Git - apple/libc.git/blob - net/FreeBSD/inet_net.3.patch
775bbc31ba9c477b6f3d642bb1f3b6b945f6861e
[apple/libc.git] / net / FreeBSD / inet_net.3.patch
1 --- inet_net.3.orig 2008-09-01 23:06:53.000000000 -0700
2 +++ inet_net.3 2008-09-01 23:14:39.000000000 -0700
3 @@ -42,9 +42,6 @@
4 .Sh LIBRARY
5 .Lb libc
6 .Sh SYNOPSIS
7 -.In sys/types.h
8 -.In sys/socket.h
9 -.In netinet/in.h
10 .In arpa/inet.h
11 .Ft char *
12 .Fn inet_net_ntop "int af" "const void *src" "int bits" "char *dst" "size_t size"
13 @@ -151,6 +148,13 @@
14 .\" .Sh NETWORK NUMBERS (IP VERSION 6)
15 .\" XXX - document this!
16 .\"
17 +.Sh LEGACY SYNOPSIS
18 +.Fd #include <sys/types.h>
19 +.Fd #include <sys/socket.h>
20 +.Fd #include <netinet/in.h>
21 +.Fd #include <arpa/inet.h>
22 +.Pp
23 +These include files were necessary for all functions.
24 .Sh SEE ALSO
25 .Xr byteorder 3 ,
26 .Xr inet 3 ,