Commit | Line | Data |
---|---|---|
0c16b406 FT |
1 | #ifndef _LIB_PROC_H |
2 | #define _LIB_PROC_H | |
3 | ||
992ce9ef FT |
4 | #include <req.h> |
5 | ||
6a7a868e | 6 | int stdmkchild(char **argv, void (*chinit)(void *), void *idata); |
0c16b406 FT |
7 | int sendfd(int sock, int fd, char *data, size_t datalen); |
8 | int recvfd(int sock, char **data, size_t *datalen); | |
6a7a868e | 9 | pid_t stdforkserve(char **argv, struct hthead *req, int fd, void (*chinit)(void *), void *idata); |
0c16b406 FT |
10 | |
11 | #endif |