aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/file.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-26 05:07:32 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-26 05:07:32 +0200
commita593789a46ceb27d26186db7b3215b2a046ff865 (patch)
tree978ac4dbf25e1b9fb7da8299d1abb9514017420a /src/file.h
parentadd some more code (diff)
downloadcimple-a593789a46ceb27d26186db7b3215b2a046ff865.tar.gz
cimple-a593789a46ceb27d26186db7b3215b2a046ff865.zip
worker: capture process output
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index b89fca1..03d5e9a 100644
--- a/src/file.h
+++ b/src/file.h
@@ -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