unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

HOSTNM(3F)                                                          HOSTNM(3F)



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
       /usr/lib/libU77.a

SEE ALSO
       gethostname(2)



4th Berkeley Distribution        13 June 1983                       HOSTNM(3F)