OSDN Git Service

(split) LDP: Update original to LDP v3.63
[linuxjm/LDP_man-pages.git] / original / man3 / gethostbyname.3
index 9be2c28..41a5886 100644 (file)
@@ -35,7 +35,7 @@
 .\" Modified 2002-08-05, Michael Kerrisk
 .\" Modified 2004-10-31, Andries Brouwer
 .\"
-.TH GETHOSTBYNAME 3 2013-09-04 "" "Linux Programmer's Manual"
+.TH GETHOSTBYNAME 3 2014-03-11 "" "Linux Programmer's Manual"
 .SH NAME
 gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
 h_errno,
@@ -107,11 +107,8 @@ _BSD_SOURCE || _SVID_SOURCE
 .BR hstrerror ():
 .RS 4
 .TP 4
-Since glibc 2.12:
+Since glibc 2.8:
 _BSD_SOURCE || _SVID_SOURCE
-.TP 4
-From glibc 2.8 to glibc 2.11:
-_BSD_SOURCE || _SVID_SOURCE || _GNU_SOURCE
 .TP
 Before glibc 2.8:
 none
@@ -262,7 +259,7 @@ The members of the \fIhostent\fP structure are:
 The official name of the host.
 .TP
 .I h_aliases
-An array of alternative names for the host, terminated by a NULL pointer.
+An array of alternative names for the host, terminated by a null pointer.
 .TP
 .I h_addrtype
 The type of address; always
@@ -276,7 +273,7 @@ The length of the address in bytes.
 .TP
 .I h_addr_list
 An array of pointers to network addresses for the host (in network byte
-order), terminated by a NULL pointer.
+order), terminated by a null pointer.
 .TP
 .I h_addr
 The first address in \fIh_addr_list\fP for backward compatibility.
@@ -287,7 +284,7 @@ and
 .BR gethostbyaddr ()
 functions return the
 .I hostent
-structure or a NULL pointer if an error occurs.
+structure or a null pointer if an error occurs.
 On error, the
 .I h_errno
 variable holds an error number.