petsc-3.7.1 2016-05-15
PetscGetHomeDirectory
Returns home directory name.
Synopsis
PetscErrorCode PetscGetHomeDirectory(char dir[],size_t maxlen)
Not Collective Many br
Input Parameter
maxlen -maximum lengh allowed Many br
Output Parameter
dir -contains the home directory. Must be long enough to hold the name. Many br
Many br
Note
If PETSc cannot determine the home directory it makes dir a null string Many br
On Windows machines the enviornmental variable HOME specifies the home directory. Many br
Location:src/sys/fileio/ghome.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages