Initializes the SRCsubsys structure with default values.
System Resource Controller Library (libsrc.a)
#include <sys/srcobj.h> #include <spc.h>
void defssys( SRCSubsystem)
struct SRCsubsys *SRCSubsystem;
The defssys subroutine
initializes the SRCsubsys structure of the
/usr/include/sys/srcobj.h file with the following default
values:
Field | Value |
---|---|
display | SRCYES |
multi | SRCNO |
contact | SRCSOCKET |
waittime | TIMELIMIT |
priority | 20 |
action | ONCE |
standerr | /dev/console |
standin | /dev/console |
standout | /dev/console |
All other numeric fields are set to 0, and all other alphabetic fields are set to an empty string.
This function must be called to initialize the SRCsubsys structure before an application program uses this structure to add records to the subsystem object class.
SRCSubsystem | Points to the SRCsubsys structure. |
This subroutine is part of Base Operating System (BOS) Runtime.
The addssys (addssys Subroutine) subroutine.
Defining Your Subsystem to the SRC, List of SRC Subroutines, System Resource Controller (SRC) Overview for Programmers in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.