Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)hostnm.3 6.1 (Berkeley) 05/15/85
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)hostnm.3 6.1 (Berkeley) 05/15/85
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)