PetscGetHomeDirectory

Returns user's home directory name.

Synopsis

int PetscGetHomeDirectory(int maxlen,char *dir)
Not Collective

Input Parameter

maxlen -maximum lengh allowed

Output Parameter

dir -the home directory

Note

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

Keywords

system, get, real, path

Location: src/sys/src/fileioghome.c
System Index
Table of Contents