__get_system_settings() — Retrieves system parameters

Standards

Standards / Extensions C or C++ Dependencies
z/OS® UNIX both

OS/390 V2R10

Format

#define _OPEN_SYS_EXT 1
#include <sys/ps.h>

struct _Optn *__get_system_settings(void);

General description

The __get_system_settings() function retrieves system parameter information from the BPXPRM member used during IPL, or updated by the OMVS operator command.

Returned value

If successful, __get_system_settings() returns a pointer to an _Optn structure containing the values set for the BPXPRMxx member process during IPL, or updated by the OMVS operator command.

If unsuccessful, __get_system_settings() returns NULL and may set errno to one of the following values:
Error Code
Description
ENOMEM
Insufficient memory available to allocate _Optn structure.

Related information