PetscGetHomeDirectory

Returns home directory name.

Synopsis

int PetscGetHomeDirectory(char dir[],int maxlen)
Not Collective

Input Parameter

maxlen -maximum lengh allowed

Output Parameter

dir -contains the home directory. Must be long enough to hold the name.

Note

On Windows NT machine the enviornmental variable HOME specifies the home directory.

Level:developer
Location:
src/sys/src/fileio/ghome.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages