Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostname(2) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sethostname(2)

rhost(3)

GETHOSTNAME(2)  —  Silicon Graphics

NAME

gethostname − get name of current host

SYNOPSIS

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

DESCRIPTION

Gethostname returns the standard host name for the current processor, as set by sethostname(2) and defined in rhost(3). The name is null-terminated.

SEE ALSO

sethostname(2), rhost(3). 

Version 2.3  —  July 04, 1985

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