|
TPCCLIB
|
Functions for working with paths. More...
Go to the source code of this file.
Functions | |
| int | pathExist (const char *pathname) |
| int | pathRemove (const char *pathname) |
| int | pathRemoveFiles (const char *pathname) |
| int | pathCreate (const char *pathname) |
Functions for working with paths.
Definition in file pathexist.c.
| int pathCreate | ( | const char * | pathname | ) |
Create path.
| pathname | Name of path to create; can contain subdirectories. |
Definition at line 81 of file pathexist.c.
Referenced by imgWriteDICOM(), imgWriteNifti(), and pathCreate().
| int pathExist | ( | const char * | pathname | ) |
Check if specified directory (path) exists.
| pathname | Name of path to check. |
Definition at line 17 of file pathexist.c.
Referenced by dcmFileList(), imgFormatFromFName(), imgRead(), imgWriteDICOM(), pathCreate(), pathFileList(), pathFileNr(), pathRemove(), and pathRemoveFiles().
| int pathRemove | ( | const char * | pathname | ) |
Remove path.
| pathname | Name of path to remove. |
Definition at line 43 of file pathexist.c.
Referenced by imgWriteDICOM().
| int pathRemoveFiles | ( | const char * | pathname | ) |
Remove regular files in specified path. Subfolders are not affected.
| pathname | Name of path from where to remove files. |
Definition at line 58 of file pathexist.c.