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

%sccs.include.proprietary.roff%

@(#)hostnm.3 6.2 (Berkeley) 04/30/91

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)