dgsysinfo(2) DG/UX 4.30 dgsysinfo(2)
NAME
dg_sys_info - This routine supplies the caller with certain
system information.
SYNOPSIS
#include <sys/dg_sys_info.h>
int dg_sys_info (info_ptr,
info_type,
version)
long * info_ptr;
long info_type;
long version;
PARAMETERS
info_ptr A pointer to the location in user space where
the information will be written.
info_type The type of structure pointed to by
<info_ptr>
version Specifies the version of the particular
sys_info structure being used.
DESCRIPTION
Based on the <info_type> of <info_ptr>, gather information
from certain kernel databases and return the information to
the caller.
RETURN VALUE
0 The call succeeded.
-1 An error occurred. Errno is set to indicate
the error
EXCEPTIONS
Errno may be set to one of the following error codes:
EINVAL A bad argument was passed.
EFAULT The <info_ptr> argument specifies a bad
address.
EONOTSUPP Kernel support for NFS is not present.
Licensed material--property of copyright holder(s) Page 1
dgsysinfo(2) DG/UX 4.30 dgsysinfo(2)
ENOMEM Not enough memory for internal kernel
structure.
Licensed material--property of copyright holder(s) Page 2