summaryrefslogtreecommitdiff
path: root/lib/libc/gen/gethostname.3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-13 08:51:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-13 08:51:01 +0000
commitcbb13fa11fdf4e178016090ecda8aac67d1dd83f (patch)
treeb285268628fdae822c9d10c9843d328f76cdedb9 /lib/libc/gen/gethostname.3
parentd42c04a67674249ebcb7704fd0826b517b048685 (diff)
change size parameter to size_t
Diffstat (limited to 'lib/libc/gen/gethostname.3')
-rw-r--r--lib/libc/gen/gethostname.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index a8ed8499db4..881ba586e92 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostname.3,v 1.4 1996/08/19 08:23:33 tholo Exp $
+.\" $OpenBSD: gethostname.3,v 1.5 1998/05/13 08:50:56 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,9 +41,9 @@
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
-.Fn gethostname "char *name" "int namelen"
+.Fn gethostname "char *name" "size_t namelen"
.Ft int
-.Fn sethostname "const char *name" "int namelen"
+.Fn sethostname "const char *name" "size_t namelen"
.Sh DESCRIPTION
.Fn Gethostname
returns the standard host name for the current processor, as