int PetscGetFileFromPath(char *path,char *defname,char *name,char *fname, char mode)Not Collective
path | - A string containing "directory:directory:..." (without the quotes, of course). As a special case, if the name is a single FILE, that file is used. |
defname | - default name |
name | - file name to use with the directories from env |
mode | - file mode desired (usually 'r' for readable, 'w' for writable, or 'e' for executable) |
Location: src/sys/src/fileioffpath.c
System Index
Table of Contents