Go to the source code of this file.
Function Documentation
The explain_basename function may be used to extract the final component of a path.
- Parameters:
-
filnam | The array to receive the filename |
path | The path from which to extract the final component. |
filnam_size | The size of the array to receive the file name |
Definition at line 74 of file dirname.c.
The explain_dirname function may be used to extract the directory part of a path.
- Parameters:
-
dir | The array in which to place the directory part. |
path | The path from which to extract the directory part. |
dir_size | The size in bytes of the destination dir array. |
Definition at line 29 of file dirname.c.