Utility functions and macros used by libbls. More...
Go to the source code of this file.
Functions | |
int | path_join (char **result, char *path1, char *path2) |
Joins two path components to form a full path. |
Utility functions and macros used by libbls.
Definition in file util.h.
int path_join | ( | char ** | result, | |
char * | path1, | |||
char * | path2 | |||
) |
Joins two path components to form a full path.
The resulting path should be freed using free() when it is not needed anymore.
[out] | result | the resulting combined path |
path1 | first path component | |
path2 | second path component |
Definition at line 46 of file util.c.
Referenced by segcol_store_in_file().