The Complete SPRLIB & ANNLIB

init_full_fname

- initializes the filename expansion mechanism

SYNOPSIS

void init_full_fname ()

ARGUMENTS

None.

RETURNS

Nothing.

FUNCTION

SPRANNLIB has a function find_full_fname which can expand a filename by placing alternative search paths in front of them. To build the list of alternative search paths (*AltPaths[], see FILE-IO-variables) the environment variable SPR_DATA is read using the C-function getenv. If the variable is not found, a warning will be given. Entries in this path environment variable should be separated by one of the characters ':', ';', ',' or ' '. Under MS-DOS, the ';' is not a valid field separator. The first entry in *AltPaths[] will always be '.', or the current directory. The maximum number of entries is given by MAXALTPATHS (see LIBRARY-flags).

NOTE

This function is called by sprinit.

SEE ALSO

find_full_fname, sprinit

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998