Guardian Procedure Calls Reference Manual

FILENAME_COMPARE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Related Programming Manual
Summary
The FILENAME_COMPARE_ procedure compares two file names to determine whether they refer
to the same object.
Syntax for C Programmers
#include <cextdecs(FILENAME_COMPARE_)>
short FILENAME_COMPARE_ ( const char *filename1
,short length1
,const char *filename2
,short length2 );
Syntax for TAL Programmers
error := FILENAME_COMPARE_ ( filename1:length1 ! i:i
,filename2:length2 ); ! i:i
Parameters
filename1:length1
input:input
STRING .EXT:ref:*, INT:value
specifies the first file name that is compared. The value of filename1 must be exactly length1
bytes long. It must be a valid file name or valid DEFINE name; if it is a partially qualified file
name, the contents of the =_DEFAULTS DEFINE are used to resolve it. See caution under
Considerations.
filename2:length2
input:input
STRING .EXT:ref:*, INT:value
specifies the second file name that is compared. The value of filename2 must be exactly
length2 bytes long. It must be a valid file name or valid DEFINE name; if it is a partially
qualified file name, the contents of the =_DEFAULTS DEFINE are used to resolve it. See caution
under Considerations.
564 Guardian Procedure Calls (F)