Guardian Programming Reference Summary for C

Functions Summary (G-N)
Guardian Programming Reference Summary for C—522630-001
6-15
LABELEDTAPESUPPORT
Provides a way for nonprivileged programs to determine whether tape-label processing
is enabled on the system.
return value:
LASTADDR
(superseded by ADDRESS_DELIMIT_) Returns the 'G'[0] relative address of the last
word in the application process’s data area.
LASTADDRX
(superseded by ADDRESS_DELIMIT_) Returns the last extended address available in
the specified relative segment.
seg
#include <cextdecs(LABELEDTAPESUPPORT)>
short LABELEDTAPESUPPORT ( [ short sysnum ] ); /* i */
1 = Tape-label processing is enabled.
0 = Tape-label processing is not enabled.
<0 = File-system error expressed as a negative value.
#include <cextdecs(LASTADDR)>
short LASTADDR ();
#include <cextdecs(LASTADDRX)>
long LASTADDRX ( [ short seg ] ); /* i */
0 = User data.
1 = If privileged, it is system data; if not, it is user data.
2 = Current code.
3 = User code.
4-1023 = Selectable extended data segment.