PETSC_MAX_PATH_LEN#

Maximum length of a path (file name including directory)

Note#

This value is set at configuration time based on the system’s maximum path length (e.g., MAXPATHLEN, MAX_PATH, or _MAX_PATH). It defaults to 4096 if no system value is available.

See Also#

PetscGetFullPath(), PetscGetRealPath(), PetscGetHomeDirectory()

Level#

beginner

Location#

include/petscsystypes.h

Examples#

src/sys/tutorials/ex17f.F90
src/sys/tutorials/ex2f.F90
src/sys/tutorials/ex5.c
src/sys/tests/ex31.c
src/sys/tests/ex47.c
src/sys/tests/ex47f.F90
src/sys/tests/ex51.c
src/sys/tests/ex61.c
src/dm/impls/plex/tutorials/ex15.c
src/dm/impls/plex/tutorials/ex16.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages