Functions | |
cxlong | cx_path_max (const cxchar *path) |
Get the maximum length of a path relative to the given directory. | |
cxchar * | cx_path_alloc (const char *path) |
Allocate a buffer suitable for storing a relative pathname staring at a given directory. |
#include <cxfileutils.h>
|
Allocate a buffer suitable for storing a relative pathname staring at a given directory.
IF the string "/" is used for path the returned buffer will have the maximum length possible for an absolute path supported by the system (but see the note for cx_path_max() for pitfalls). |
|
Get the maximum length of a path relative to the given directory.
|