c c Routine directly callable from C/C++ (it could be necessary to c append an underscore, "_", to its name depending on the C/C++ c compiler used). c c subroutine lookforfile(fname, pathstring, pslen, pathsep, + exists, fullname, fullnamelen) c c Checking for the existence of a given file. The file is searched c in the patstring and current directories. c c Written by: S. J. Sciutto, La Plata 1999, 2003, 2019. c c c Arguments: c ========= c c fname........... (input, character*(*)) The file name. c pathstring...... (input, character*(*)) Set of directories to c search for the existence of the file. c Directories are separated by character c "pathsep". c pslen........... (input, integer) Length of string "pathstring". c pathsep......... (input, character*1) Separator character. c exists.......... (output, logical) True if the file is found. c fullname........ (output, character*(*)) Full name c (directory + file name) of the file. This c variable is set only when "exists" is true. c fullnamelen..... (output, integer) Length of "fullname". This c variable is set only when "exists" is true. c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |