Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostna(2) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sethostname(2)

sys_id(4)



     GETHOSTNAME(2)                                     GETHOSTNAME(2)



     NAME
          gethostname - get name of current host

     SYNOPSIS
          gethostname (hostname, sizeof (hostname));
          char hostname[32];

     DESCRIPTION
          gethostname returns the standard host name for the current
          processor, as set by sethostname(2) and defined in
          sys_id(4).  The name is null-terminated.

     SEE ALSO
          sethostname(2), sys_id(4)

     ORIGIN
          4th Berkeley Software Distribution






































     Page 1                                        (last mod. 8/20/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026