aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/gethostid.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/gethostid.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/gethostid.3')
-rw-r--r--man/man3/gethostid.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man3/gethostid.3 b/man/man3/gethostid.3
index cb0e595039..f9d9905a91 100644
--- a/man/man3/gethostid.3
+++ b/man/man3/gethostid.3
@@ -64,7 +64,8 @@ returns the 32-bit identifier for the current host as set by
.P
On success,
.BR sethostid ()
-returns 0; on error, \-1 is returned, and
+returns 0;
+on error, \-1 is returned, and
.I errno
is set to indicate the error.
.SH ERRORS
@@ -133,7 +134,8 @@ POSIX.1-2008.
.BR sethostid ()
None.
.SH HISTORY
-4.2BSD; dropped in 4.4BSD.
+4.2BSD;
+dropped in 4.4BSD.
SVr4 and POSIX.1-2001 include
.BR gethostid ()
but not