dgsysinfo(2)
_________________________________________________________________
dgsysinfo System Call
Supplies the caller with certain system information.
_________________________________________________________________
SYNTAX
#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:
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
dgsysinfo(2)
EINVAL A bad argument was passed.
EFAULT The <info_ptr> argument specifies a bad address.
EOPNOTSUPP Kernel support for NFS is not present.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)