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.2.1R