Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-200
FILENAME_SCAN_ Procedure
FILENAME_SCAN_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The FILENAME_SCAN_ procedure checks for valid file-name syntax and returns the
length in bytes of that part of the input string that constitutes a file name. Node names
are accepted as valid input, as are partially or fully qualified names of disk files,
processes, and devices. File-name patterns and subvolume names are accepted
when you select the appropriate options. FILENAME_SCAN_ checks syntax only; no
check for the existence of any entity is performed.
Refer to Appendix D, File Names and Process Identifiers
for the definitions of file name
and file-name pattern.
Syntax for C Programmers
Syntax for TAL Programmers
#include <cextdecs(FILENAME_SCAN_)>
short FILENAME_SCAN_ ( const char *string
,short length
,[ short *count ]
,[ short *kind ]
,[ short *entity-level ]
,[ short options ] );
error := FILENAME_SCAN_( string:length ! i:i
,[ count ] ! o
,[ kind ] ! o
,[ entity-level ] ! o
,[ options ] ); ! i