Guardian Programming Reference Summary for C

Functions Summary (A-C)
Guardian Programming Reference Summary for C522630-001
4-22
CONTIME
Converts a 48-bit timestamp to a date and time in integer form.
date-and-time
CONTROL
Performs device-dependent I/O operations.
#include <cextdecs(CONTIME)>
void CONTIME ( short _near *date-and-time /* o */
,short t0 /* i */
,short t1 /* i */
,short t2 ); /* i */
[0] = Year (1975, 1976, ... )
[1] = Month (1-12)
[2] = Day (1-31)
[3] = Hour (0-23)
[4] = Minute (0-59)
[5] = Second (0-59)
[6] = 0.01 sec (0-99)
#include <cextdecs(CONTROL)>
_cc_status CONTROL ( short filenum /* i */
,short operation /* i */
,[ short param ] /* i */
,[ long tag ] ); /* i */
_status_lt (<return_value>) An error occurred (call FILEINFO).
_status_eq (<return_value>) CONTROL was successful.
_status_gt (<return_value>) For magnetic tape, the end of file (EOF) was
encountered while spacing records; for a process
file, the process is not accepting CONTROL
system messages. When device handlers do not
allow the operation, file-system error 2 returns.
Note. CONTROL operations are summarized in Section 5. CONTROL operations used with
the I/O devices are discussed in the Guardian Procedure Calls Reference Manual.