Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_sys_info(2) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uname(2)



dg_sys_info(2)                 DG/UX R4.11MU05                dg_sys_info(2)


NAME
       dgsysinfo - get system information

SYNOPSIS
       #include <sys/dgsysinfo.h>

       int   dgsysinfo (infoptr,
             infotype,
             version)
       long  * infoptr;
       long  infotype;
       long  version;

   where:
       infoptr       A pointer to the location in user space where the
                      information will be written

       infotype      The type of structure pointed to by infoptr.  See
                      sys/dg_sys_info.h.

       version        The version of the particular sysinfo structure being
                      used

DESCRIPTION
       Based on the infotype of infoptr, gather information from certain
       kernel databases and return the information to the caller.  See
       sys/dg_sys_info.h for explanations of the types of information
       returned.

RETURN VALUE
       0      The call succeeded.

       -1     An error occurred.  errno is set to indicate the error.

DIAGNOSTICS
       Errno may be set to one of the following error codes:

       EINVAL    A bad argument was passed.

       EFAULT    The infoptr argument specifies a bad address.

       EONOTSUPP Kernel support for NFS is not present.

       ENOMEM    Not enough memory for internal kernel structure.

SEE ALSO
       dgprocessinfo(2), dgvmprocessinfo(2), uname(2).


Licensed material--property of copyright holder(s)

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