Guardian Programming Reference Summary for C

Functions Summary (R-Z)
Guardian Programming Reference Summary for C522630-001
8-17
SET^FILE
Alters file characteristics and checks the old value of those characteristics it is changing.
SET^FILE is a sequential I/O (SIO) procedure and can be used only with files that have
been opened by OPEN^FILE.
Native C:
SETJMP_
Saves process context in a jump buffer. This context is used when a nonlocal goto is
performed by a corresponding call to the LONGJMP_ procedure.
return value
Native C:
#include <cextdecs(SET_FILE)>
short SET_FILE ( short { *common-fcb } /* i */
{ *file-fcb } /* i */
,short operation /* i */
,[ short new-value ] /* i */
,[ short *old-value ] /* o */
,[ short setaddr-value ] ); /* i */
C:
#include <cextdecs(SET_FILE)>
short SET_FILE ( short { *common-fcb } /* i */
{ *file-fcb } /* i */
,short operation /* i */
,[ short new-value ] /* i */
,[ short *old-value ] ); /* o */
#include <setjmp.h>
jmp_buf env;
int setjmp ( jmp_buf env ); /* o */
0D = Indicates that the SETJMP_ procedure was called directly.
<>0D = Indicates that the SETJMP_ procedure is returning as a result of a call to
the LONGJMP_ procedure. The returned value is specified by
LONGJMP_.