Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual—522629-013
6-32
GIVE^BREAK Procedure
GIVE^BREAK Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The GIVE^BREAK procedure returns BREAK to the previous owner (the process that
owned BREAK before the last call to TAKE^BREAK).
GIVE^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
returns a file-system or sequential I/O procedure error indicating the outcome of
the operation.
common-fcb input
INT:ref:*
identifies the file returning BREAK to the previous owner. The
common-fcb
parameter is allowed for convenience. If BREAK is not owned, this call is ignored.
#include <cextdecs(GIVE_BREAK)>
short GIVE_BREAK ( short { _near *common-fcb }
{ _near *file-fcb } );
error := GIVE^BREAK ( { common-fcb } ! i
{ file-fcb } ); ! i