Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual522629-013
15-4
TEXTTOSSID Procedure
TEXTTOSSID Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
TEXTTOSSID scans a character string, expecting to find the external representation of
a subsystem ID starting in the first byte (no leading spaces accepted). It returns the
internal representation of the subsystem ID it finds.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
len returned value
INT
returns the number of characters scanned from
chars.
Zero is returned if an error occurs.
chars input
STRING .EXT:ref:*
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(TEXTTOSSID)>
short TEXTTOSSID ( char *chars
,short *ssid
,[ __int32_t *status ] );
len := TEXTTOSSID ( chars ! i
,ssid ! o
,[ status ] ); ! o