This commit is contained in:
kento2 2026-09-04 19:59:24 +02:00
commit 55385f8857
69 changed files with 1125 additions and 0 deletions

13
fetcher/fetcher.h Normal file
View 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