Guardian Programming Reference Summary for C

Functions Summary (A-C)
Guardian Programming Reference Summary for C522630-001
4-23
CONTROLBUF
Performs device-dependent I/O operations requiring a data buffer.
CONTROLMESSAGESYSTEM
Controls the maximum number of receive and send XLBs (extended memory control
blocks) used by a process.
error
value
#include <cextdecs(CONTROLBUF)>
_cc_status CONTROLBUF
( short filenum /* i */
,short operation /* i */
,short _near *buffer /* i */
,short count /* i */
,[ short _near *count-transferred ] /* o */
,[ long tag ] ); /* i */
_status_lt (<return_value>) An error occurred (call FILEINFO).
_status_eq (<return_value>) CONTROLBUF was successful.
_status_gt (<return_value>) For a process file, the process is not accepting
CONTROLBUF system messages.
#include <cextdecs(CONTROLMESSAGESYSTEM)>
short CONTROLMESSAGESYSTEM ( short actioncode /* i */
,short value ); /* i */
0 = Successful, no error
2=Bad actioncode
21 = Bad value
29 = Missing parameter
0 = Sets the limit on the number of outstanding messages to the process, including
time-limit expiration messages.
1 = Sets the limit on the number of outstanding messages sent by the process (the
maximum number of send XLBs for this process).