Adds date and time specifier for the log file name.

This commit is contained in:
Andrea Mazzoleni 2014-02-16 10:03:02 +01:00
parent f6c2ae14de
commit cb0a280ddc
9 changed files with 154 additions and 31 deletions

6
util.h
View file

@ -403,6 +403,12 @@ void pathcpy(char* dst, size_t size, const char* src);
*/
void pathcat(char* dst, size_t size, const char* src);
/**
* Concatenates a path limiting the size.
* Aborts if too long.
*/
void pathcatc(char* dst, size_t size, char c);
/**
* Imports a path limiting the size.
* In Windows all the backslash are converted to the C standard of forward slash.