Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ GetHostN.Xmu() — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostname(SLIB)

uname(C)


 XmuGetHostname(Xmu)      X Version 11 (Release 5)        XmuGetHostname(Xmu)
                                6 January 1993


 Name

    XmuGetHostname - host name

 Syntax


    cc  . . .  -lXmu


    #include <X11/Xmu/Error.h>

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


 Arguments


    buf     returns the host name

    maxlen  specifies the length of buf


 Description

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

 See also

    gethostname(SLIB), uname(C)
    Xlib - C Language X Interface


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