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.
Item | Description |
---|---|
SRCSubsystem | Points to the SRCsubsys structure. |