Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual—522629-013
15-2
TAKE^BREAK Procedure
TAKE^BREAK Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The TAKE^BREAK procedure enables BREAK monitoring for a file.
TAKE^BREAK 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
Syntax for TAL Programmers
Parameters
error returned value
INT
is a file-system or sequential I/O (SIO) procedure error indicating the outcome of
the operation.
file-fcb input
INT:ref:*
identifies the file for which BREAK is enabled. If the file is not a terminal, or if
BREAK is already owned for this file, the call is ignored.
Considerations
•
BREAK ownership and one terminal
#include <cextdecs(TAKE_BREAK)>
short TAKE_BREAK ( short _near *file-fcb );
error := TAKE^BREAK ( file-fcb ); ! i