[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs

List of SRC Subroutines

If you need to define your subsystem to the System Resource Controller (SRC) from a C program, you can use the following subroutines:

addssys Adds a subsystem definition to the SRC configuration data base.
chssys Changes a subsystem definition in the SRC configuration data base.
defssys Initializes a new subsystem definition with default values.
delssys Deletes an existing subsystem definition from the SRC configuration data base.
getssys Gets a subsystem definition from the SRC configuration data base.
getsubsvr Gets a subserver definition from the SRC configuration data base.

Use the following subroutines to program communication with the SRC and the subsystems controlled by the SRC:

src_err_msg Returns message text for SRC errors encountered by SRC library routines.
srcrrqs Saves the destination address of your subsystem's response to a received packet.
srcsbuf Requests status from the subsystem in printable format.
srcsrpy Sends your subsystem response packet to a request that your subsystem received.
srcsrqt Sends a message or request to the subsystem.
srcstat Requests short subsystem status.
srcstathdr Gets the title text for SRC status.
srcstattxt Gets the text representation for an SRC status code.
srcstop Requests termination of the subsystem.
srcstrt Requests the start of a subsystem.

[ Previous | Next | Contents | Glossary | Home | Search ]