13 lines
248 B
C
13 lines
248 B
C
#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
|