Guardian Programming Reference Summary for C

Guardian Programming Reference Summary for C522630-001
5-1
5
Functions Summary (D-F)
This section lists functions in alphabetic order and briefly describes the syntax of each.
For additional information about the functions, refer to the Guardian Procedure Calls
Reference Manual.
DAYOFWEEK
Takes a 32-bit Julian day number and returns the corresponding day of the week.
julian-day-num
DEALLOCATESEGMENT
(superseded by SEGMENT_DEALLOCATE_) Deallocates an extended data segment
when the segment is no longer needed by the calling process.
This procedure does not have C syntax, because it is superseded and should not be used
for new development. This procedure is supported only for compatibility with previous
software.
DEBUG
Directly invokes the debug facility.
DEBUGPROCESS
(superseded by PROCESS_DEBUG_) Invokes the debug facility on a process.
#include <cextdecs(DAYOFWEEK)>
short DAYOFWEEK ( long julian-day-num ); /* i */
0 = Sunday, 1 = Monday, ..., 6 = Saturday.
-1 = The value of julian-day-num is negative.
#include <cextdecs(DEBUG)>
void DEBUG ();
CALL DEBUGPROCESS ( process-id /* i */
,error /* o */
,[term ] /* i */
,[ now ] ); /* i */