diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 10:13:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 10:13:54 +0000 |
commit | d0db69d964a72128c1dcb81af009e3bd728c7876 (patch) | |
tree | d7fc87dbba410fea9fb526ffb94f2409d3c5f8cc /lib/libc/gen/gethostname.3 | |
parent | af6f15fd347359b35b89710f15c02dffacf8d980 (diff) | |
download | FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.zip FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.tar.gz |
mdoc(7) police: "The .Fn function".
Diffstat (limited to 'lib/libc/gen/gethostname.3')
-rw-r--r-- | lib/libc/gen/gethostname.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index 7c0275d..c8cd1cb 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -48,7 +48,9 @@ .Ft int .Fn sethostname "const char *name" "int namelen" .Sh DESCRIPTION -.Fn Gethostname +The +.Fn gethostname +function returns the standard host name for the current processor, as previously set by .Fn sethostname . @@ -59,7 +61,9 @@ specifies the size of the array. The returned name is null-terminated unless insufficient space is provided. .Pp -.Fn Sethostname +The +.Fn sethostname +function sets the name of the host machine to be .Fa name , which has length @@ -95,5 +99,5 @@ This includes the trailing .Sh HISTORY The .Fn gethostname -function call appeared in +function appeared in .Bx 4.2 . |