diff options
Diffstat (limited to 'man3/gethostbyname.3')
| -rw-r--r-- | man3/gethostbyname.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 2b78deb30b..9527969438 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -351,11 +351,11 @@ Glibc2 also has reentrant versions .BR gethostbyname_r () and .BR gethostbyname2_r (). -The caller supplies a -.I hostent -structure +The caller supplies a +.I hostent +structure .I ret -which will be filled in on success, and a temporary work buffer +which will be filled in on success, and a temporary work buffer .I buf of size .IR buflen . @@ -364,7 +364,7 @@ After the call, will point to the result on success. In case of an error or if no entry is found .I result -will be NULL. +will be NULL. The functions return 0 on success and a non-zero error number on failure. In addition to the errors returned by the non-reentrant versions of these functions, if |
