xref: /original-bsd/share/man/man3f/hostnm.3 (revision abb2de7b)
Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.

%sccs.include.proprietary.roff%

@(#)hostnm.3 8.1 (Berkeley) 06/05/93

HOSTNM 3F ""
C 5
NAME
hostnm - get name of current host
SYNOPSIS
integer function hostnm (name)

character*(*) name

DESCRIPTION
This function puts the name of the current host into character string name . The return value should be 0; any other value indicates an error.
FILES
"SEE ALSO"
gethostname(2)