Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-212
FILENAME_UNRESOLVE_ Procedure
FILENAME_UNRESOLVE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Examples
Related Programming Manual
Summary
The FILENAME_UNRESOLVE_ procedure accepts a file name as input, deletes left-
hand sections that match the default values, and returns a file name that is
semantically equivalent to the input file name.
Syntax for C Programmers
The character-string parameters longname and defaults are each followed by a
parameter
length that specifies the length in bytes of the character string. Where
the parameters are optional, the character-string parameter and the corresponding
length parameter must either both be supplied or both be absent.
Syntax for TAL Programmers
#include <cextdecs(FILENAME_UNRESOLVE_)>
short FILENAME_UNRESOLVE_ ( const char *longname
,short length
,char *shortname
,short maxlen
,short *shortname-length
,[ short level ]
,[ const char *defaults ]
,[ short length ] );
error := FILENAME_UNRESOLVE_ ( longname:length !
i:i
,shortname:maxlen !
o:i
,shortname-length ! o
,[ level ] ! i
,[ defaults:length ] ); !
i:i