mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 15:36:33 -05:00
Adds date and time specifier for the log file name.
This commit is contained in:
parent
f6c2ae14de
commit
cb0a280ddc
9 changed files with 154 additions and 31 deletions
6
util.h
6
util.h
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue