diff options
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -13,6 +13,12 @@ #include <errno.h> #include <string.h> +/* + * Try writing to _fd for _retry times. Retries are reset after every succesful write. + */ int try_write(int _fd, char *_buff, int _size, int _retry); +/* + * Fork, exec(argc, argv) with new STDIO, return PID + */ pid_t fork_run(int _stdin, int _stdout, int _stderr, int argc, char* argv[]); |