mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
LibC: Use shared functon to generate unique filenames
Move some dupliated code into __generate_unique_filename()
This commit is contained in:
parent
17aef7dc99
commit
f6bd4f8691
2 changed files with 33 additions and 43 deletions
|
@ -4,6 +4,8 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
[[nodiscard]] bool __generate_unique_filename(char* pattern);
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue