|
doc
|
Macros | |
| #define | BUFFER_SIZE (16 * 1024) |
Functions | |
| int | c_copy (const char *src, const char *dst, mode_t mode) |
| int | c_isfile (const char *path) |
| int c_copy | ( | const char * | src, |
| const char * | dst, | ||
| mode_t | mode | ||
| ) |
copy a file from source to destination.
| src | Path to the source file |
| dst | Path to the destination file |
| mode | File creation mode of the destination. If mode is 0 then the mode from the source will be used. |
| int c_isfile | ( | const char * | path | ) |
Check if a path is a regular file or a link.
| path | The path to check. |
1.8.2