summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/gethostname.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commit69224c0edd32d46efbcdb9ad329891e820f0898a (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libc/gen/gethostname.3
parent0cdbf7e134168f454f352752441a010d764e8cd0 (diff)
downloadFreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.zip
FreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.tar.gz
Use ``.Rv -std'' wherever possible.
Submitted by: yar
Diffstat (limited to 'lib/libc/gen/gethostname.3')
-rw-r--r--lib/libc/gen/gethostname.35
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index 605ccc7..76819b1 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -67,10 +67,7 @@ which has length
This call is restricted to the super-user and
is normally used only when the system is bootstrapped.
.Sh RETURN VALUES
-If the call succeeds a value of 0 is returned. If the call
-fails, a value of -1 is returned and an error code is
-placed in the global location
-.Va errno .
+.Rv -std
.Sh ERRORS
The following errors may be returned by these calls:
.Bl -tag -width Er
OpenPOWER on IntegriCloud