le_path.h
Go to the documentation of this file.
1 
2 //--------------------------------------------------------------------------------------------------
43 //--------------------------------------------------------------------------------------------------
52 #ifndef LEGATO_PATH_INCLUDE_GUARD
53 #define LEGATO_PATH_INCLUDE_GUARD
54 
55 
56 //--------------------------------------------------------------------------------------------------
64 //--------------------------------------------------------------------------------------------------
66 (
67  const char* pathPtr,
68  const char* separatorPtr,
69  char* dirPtr,
70  size_t dirBuffSize
71 );
72 
73 
74 //--------------------------------------------------------------------------------------------------
82 //--------------------------------------------------------------------------------------------------
84 (
85  const char* pathPtr,
86  const char* separatorPtr
87 );
88 
89 
90 //--------------------------------------------------------------------------------------------------
109 //--------------------------------------------------------------------------------------------------
111 (
112  const char* separatorPtr,
113  char* pathPtr,
114  size_t pathSize,
116  ...
117 )
119 __attribute__((__sentinel__));
120 
121 
122 //--------------------------------------------------------------------------------------------------
134 //--------------------------------------------------------------------------------------------------
136 (
137  const char* path1Ptr,
138  const char* path2Ptr,
139  const char* separatorPtr
140 );
141 
142 
143 //--------------------------------------------------------------------------------------------------
156 //--------------------------------------------------------------------------------------------------
158 (
159  const char* path1Ptr,
160  const char* path2Ptr,
161  const char* separatorPtr
162 );
163 
164 
165 #endif // LEGATO_PATH_INCLUDE_GUARD
le_result_t le_path_Concat(const char *separatorPtr, char *pathPtr, size_t pathSize,...)
le_result_t
Definition: le_basics.h:35
char * le_path_GetBasenamePtr(const char *pathPtr, const char *separatorPtr)
bool le_path_IsSubpath(const char *path1Ptr, const char *path2Ptr, const char *separatorPtr)
le_result_t le_path_GetDir(const char *pathPtr, const char *separatorPtr, char *dirPtr, size_t dirBuffSize)
bool le_path_IsEquivalent(const char *path1Ptr, const char *path2Ptr, const char *separatorPtr)