Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ GetHostname(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuGetHostname — operating system independent routine to get machine name. 

SYNOPSIS

#include <X11/Xmu/SysUtil.h>

int XmuGetHostname(buf, maxlen)
      char ∗buf;
      int maxlen;

ARGUMENTS

bufReturns the host name. 

maxlenSpecifies the length of buf. 

DESCRIPTION

XmuGetHostname stores the NULL-terminated name of the local host in buf, and returns the length of the name.  This function hides operating system differences, such as whether to call gethostname or uname. 

Xlib Reference Manual

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