ECP-VELOC Components
User documentation for all components
Files
SPath

Represent and manipulate file system paths. More...

Files

file  spath.h
 This file defines the data structure for a path, which is an double-linked list of elements, where each element contains a component (char string).
 
file  spath.h
 This file defines the data structure for a path, which is an double-linked list of elements, where each element contains a component (char string).
 
file  spath_util.h
 utilities for spath
 

Detailed Description

Create an spath object from a string. The library includes functions to extract components (such as dirname, basename). It can create an absolute path or compute a relative path from a source path to a destination path. It can also simplify a path (i.e., convert ../foo//bar to foo/bar).