| rpath.c (3f8ef5f4dc5316d3f154bbe9c697c3c2b5733ca9) | rpath.c (bfbbc7b7132e4b411f537ad2e2bd0dcaa87bca64) |
|---|---|
| 1 2#include <petscsys.h> 3#if defined(PETSC_HAVE_PWD_H) 4 #include <pwd.h> 5#endif 6#include <ctype.h> 7#include <sys/stat.h> 8#if defined(PETSC_HAVE_UNISTD_H) --- 5 unchanged lines hidden (view full) --- 14#if defined(PETSC_HAVE_SYS_SYSTEMINFO_H) 15 #include <sys/systeminfo.h> 16#endif 17 18/*@C 19 PetscGetRelativePath - Given a filename, returns the relative path (removes 20 all directory specifiers). 21 | 1 2#include <petscsys.h> 3#if defined(PETSC_HAVE_PWD_H) 4 #include <pwd.h> 5#endif 6#include <ctype.h> 7#include <sys/stat.h> 8#if defined(PETSC_HAVE_UNISTD_H) --- 5 unchanged lines hidden (view full) --- 14#if defined(PETSC_HAVE_SYS_SYSTEMINFO_H) 15 #include <sys/systeminfo.h> 16#endif 17 18/*@C 19 PetscGetRelativePath - Given a filename, returns the relative path (removes 20 all directory specifiers). 21 |
| 22 Not Collective | 22 Not Collective; No Fortran Support |
| 23 24 Input parameters: 25+ fullpath - full pathname 26. path - pointer to buffer to hold relative pathname 27- flen - size of path 28 29 Level: developer 30 --- 12 unchanged lines hidden --- | 23 24 Input parameters: 25+ fullpath - full pathname 26. path - pointer to buffer to hold relative pathname 27- flen - size of path 28 29 Level: developer 30 --- 12 unchanged lines hidden --- |