Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getsysinfo(3) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sysinfo(5)

setlocale(3)

lpf_smlbp(8)

GETSYSINFO(3)  —  NEWS-OS Programmer’s Manual

NAME

getsysinfo − Get system information

SYNOPSIS

char ∗getsysinfo(name)
char ∗name;

DESCRIPTION

getsysinfo searches the files ~/.userinfo and /etc/sysinfo (see sysinfo(5)), in that order, for a string that constitutes name=value equation.  If the specified name is found, the pointer to the value string is returned.  If no such string is found, the value 0 (NULL) is returned. 

FILES

/etc/sysinfoSystem variable definition file
~/.userinfoUsed to set system variables that differ from those in /etc/sysinfo

SEE ALSO

sysinfo(5), setlocale(3), lpf_smlbp(8)

NEWS-OSRelease 4.1C

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