diff options
Diffstat (limited to 'man3/inet.3')
| -rw-r--r-- | man3/inet.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/man3/inet.3 b/man3/inet.3 index 6be9fcff4d..001f45618f 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -32,7 +32,7 @@ .\" Changed network into host byte order (for inet_network), .\" Andreas Jaeger <aj@arthur.rhein-neckar.de>, 980130. .\" -.TH INET 3 2001-07-25 "GNU" "Linux Programmer's Manual" +.TH INET 3 2007-07-26 "GNU" "Linux Programmer's Manual" .SH NAME inet_aton, inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof \- Internet address manipulation routines @@ -56,6 +56,15 @@ inet_netof \- Internet address manipulation routines .sp .BI "in_addr_t inet_netof(struct in_addr " in ); .fi +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR inet_aton (), +.BR inet_ntoa (): +_BSD_SOURCE || _SVID_SOURCE .SH DESCRIPTION .BR inet_aton () converts the Internet host address \fIcp\fP from the @@ -150,15 +159,6 @@ be aware that each number will be interpreted as octal if preceded by a 0 and as hexadecimal if preceded by 0x. For example, \fBinet_aton("226.000.000.037", &t)\fP will interpret the address as \fI226.0.0.31\fP and not \fI226.0.0.37\fP. -.SS Glibc Notes -In order to expose the declaration of -.BR inet_aton (), -one of the feature test macros -.BR _BSD_SOURCE , -.BR _SVID_SOURCE , -or -.B _GNU_SOURCE -must be defined. .SH "SEE ALSO" .BR gethostbyname (3), .BR getnetent (3), |
