aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/gethostbyname.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-08-19 13:40:01 +0200
committerAlejandro Colomar <alx@kernel.org>2025-09-21 16:26:15 +0200
commitf17990c243eafc1891ff692f90b6ce42e6449be8 (patch)
tree62e0e0242db019d77d263bd60a99c7b47a697d1f /man/man3/gethostbyname.3
parentdbc3270a88165851aa5e7ab5d1f99dc1acb9624d (diff)
downloadman-pages-f17990c243eafc1891ff692f90b6ce42e6449be8.tar.gz
man/: Use semantic newlines
And fix related issues while at it. Silence false positives with \&. Reported-by: `make lint-man-semnl` Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/gethostbyname.3')
-rw-r--r--man/man3/gethostbyname.37
1 files changed, 5 insertions, 2 deletions
diff --git a/man/man3/gethostbyname.3 b/man/man3/gethostbyname.3
index 8e0866cfe3..f5fa04014d 100644
--- a/man/man3/gethostbyname.3
+++ b/man/man3/gethostbyname.3
@@ -268,7 +268,8 @@ The official name of the host.
An array of alternative names for the host, terminated by a null pointer.
.TP
.I h_addrtype
-The type of address; always
+The type of address;
+always
.B AF_INET
or
.B AF_INET6
@@ -461,7 +462,9 @@ may return pointers to static data, which may be overwritten by
later calls.
Copying the
.I struct hostent
-does not suffice, since it contains pointers; a deep copy is required.
+does not suffice,
+since it contains pointers;
+a deep copy is required.
.P
In the original BSD implementation the
.I size