1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-09 02:55:52 +01:00

WINGs: Add copy_file() to libWUtil

This is essentially the fetchFile() from wcolorpanel.c from the last
commit, but renamed to a better name.

This patch just adds the function to the lib. Nobody uses it yet.
This commit is contained in:
Carlos R. Mafra
2012-01-15 05:54:34 +00:00
parent 14643408e8
commit 7a180b0ef8
2 changed files with 59 additions and 0 deletions

View File

@@ -201,6 +201,8 @@ char* wfindfileinarray(WMPropList* array, char *file);
char* wexpandpath(char *path);
int copy_file(char *toPath, char *srcFile, char *destFile);
/* don't free the returned string */
char* wgethomedir(void);