Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-45
FILENAME_SCAN_ 
Checks for valid file-name syntax and returns the length in bytes of that part of the input 
string that constitutes a file name.
kind
entity-level
options
FILENAME_TO_OLDFILENAME_ 
Converts a file name to a C-series internal file name.
#include <cextdecs(FILENAME_SCAN_)>
short FILENAME_SCAN_ ( const char *string /* i */
  ,short length /* i */
 ,[ short *count ] /* o */
 ,[ short *kind ] /* o */
 ,[ short *entity-level ] /* o */
 ,[ short options ] ); /* i */
0 = File name (that is, the name of an entity).
1 = File-name pattern. This value can be returned only if options.<15> is set to 
1. If the input is a name as well as a file-name pattern (that is, it does not 
contain an asterisk or question mark), FILENAME_SCAN_ classifies it as a  
name and not a pattern.
2 = DEFINE name.
-1 = Node name
 0 = Name of device or process without qualifiers
>0 = Name of device or process with entity-level qualifiers
Bits 0-13 Reserved (specify 0)
Bit 14 Specifies that a subvolume name be accepted as valid input
Bit 15 Specifies that a file name pattern be accepted as valid input
#include <cextdecs(FILENAME_TO_OLDFILENAME_)>
short FILENAME_TO_OLDFILENAME_ ( const char *filename/* i */ 
 ,short length /* i */
 ,short *oldstyle-name ); /* o */










