aboutsummaryrefslogtreecommitdiff
path: root/src/misc.h
blob: 49a33844c025b5e68cd7d3a2ecb4b1d0c6ce0dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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[]);