.
This commit is contained in:
commit
55385f8857
69 changed files with 1125 additions and 0 deletions
13
fetcher/fetcher.h
Normal file
13
fetcher/fetcher.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef FETCHER_H
|
||||
#define FETCHER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/*
|
||||
* execs args[0] with args. output is connected to outfd
|
||||
* and errfd.
|
||||
* return: pid of child process or -1 on error.
|
||||
*/
|
||||
pid_t spawnchild(char **args, int outfd, int errfd);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue