defssys Subroutine

Purpose

Initializes the SRCsubsys structure with default values.

Library

System Resource Controller Library (libsrc.a)

Syntax

#include <sys/srcobj.h>
#include <spc.h>

void defssys( SRCSubsystem)
struct SRCsubsys *SRCSubsystem;

Description

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.

Parameters

Item Description
SRCSubsystem Points to the SRCsubsys structure.