lib: Use abort() instead of exit() when smalloc fails.
[ashd.git] / lib / proc.h
CommitLineData
0c16b406
FT
1#ifndef _LIB_PROC_H
2#define _LIB_PROC_H
3
b008ba9e 4#include "req.h"
992ce9ef 5
6a7a868e 6int stdmkchild(char **argv, void (*chinit)(void *), void *idata);
d9f67fea 7int sendfd2(int sock, int fd, char *data, size_t datalen, int flags);
0c16b406
FT
8int sendfd(int sock, int fd, char *data, size_t datalen);
9int recvfd(int sock, char **data, size_t *datalen);
6a7a868e 10pid_t stdforkserve(char **argv, struct hthead *req, int fd, void (*chinit)(void *), void *idata);
0c16b406
FT
11
12#endif