file_view_find
status.i4.v = file_view_find(file_spec.i1a.r, num_match.i4.r,
file_names.i1pa.r)
This routine finds files that match a specified filename.
Matching filenames are held in memory until next call to
this routine.
file_spec file string to match: include disk [and wildcards]
num_match returned number of matched file names
file_names returned pointers to matched filename strings
This function returns ACNET status values as follows:
CBS_OK success
CBS_MEMFAIL failed in allocating dynamic memory
CBS_NO_SUCH no files matched the requested specification
This function requires the following include files:
cbslib_h, acnet_errors_h
Related functions:
file_view_select, file_view_read, file_find_in_path_c, file_exists_c,
file_num_lines, file_find_in_path_c, file_name_expand_c,
file_name_parse_c
C/C++ usage:
static const char file_spec[] = "/some_path/file*.*";
char **file_names;
int status;
int num_match;
status = file_view_find(file_spec,&num_match,&file_names);