diff options
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/misc.h b/src/misc.h new file mode 100644 index 0000000..49a3384 --- /dev/null +++ b/src/misc.h @@ -0,0 +1,18 @@ +/* + * misc.h + * (c) 2019, Jonas Gunz, jonasgunz.de + * <Description> + * <License> +*/ + +#pragma once + +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <errno.h> +#include <string.h> + +int try_write(int _fd, char *_buff, int _size, int _retry); + +pid_t fork_run(int _stdin, int _stdout, int _stderr, int argc, char* argv[]); |