Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-43
SET^FILE Procedure
SET^FILE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The SET^FILE procedure alters file characteristics and checks the old values of those
characteristics being altered.
SET^FILE is a sequential I/O (SIO) procedure and should be used only with files that
have been opened by OPEN^FILE.
Syntax for C Programmers
For Native C programs:
For C programs:
#include <cextdecs(SET_FILE)>
short SET_FILE ( short { *common-fcb }
{ *file-fcb }
,short operation
,[ short new-value ]
,[ short *old-value ]
,[ short setaddr-value ] );
#include <cextdecs(SET_FILE)>
short SET_FILE ( short { *common-fcb }
{ *file-fcb }
,short operation
,[ short new-value ]
,[ short *old-value ] );