diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-26 05:07:32 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-26 05:07:32 +0200 |
commit | a593789a46ceb27d26186db7b3215b2a046ff865 (patch) | |
tree | 978ac4dbf25e1b9fb7da8299d1abb9514017420a /src/file.h | |
parent | add some more code (diff) | |
download | cimple-a593789a46ceb27d26186db7b3215b2a046ff865.tar.gz cimple-a593789a46ceb27d26186db7b3215b2a046ff865.zip |
worker: capture process output
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,10 +1,14 @@ #ifndef __FILE_H__ #define __FILE_H__ +#include <stddef.h> + int rm_rf(const char *dir); int my_chdir(const char *dir, char **old); int file_exists(const char *path); +int file_read(int fd, char **output, size_t *len); + #endif |