19 |
|
#define execvp _execvp |
20 |
|
#else |
21 |
|
#include <sys/param.h> |
22 |
– |
#include <sys/types.h> |
22 |
|
typedef pid_t RT_PID; |
23 |
|
#endif |
24 |
+ |
#include <sys/types.h> |
25 |
|
|
26 |
|
#include "paths.h" |
27 |
|
|
134 |
|
extern int open_process(SUBPROC *pd, char *av[]); |
135 |
|
extern int close_processes(SUBPROC pd[], int nproc); |
136 |
|
extern int process(SUBPROC *pd, char *recvbuf, char *sendbuf, int nbr, int nbs); |
137 |
< |
extern int readbuf(int fd, char *bpos, int siz); |
138 |
< |
extern int writebuf(int fd, char *bpos, int siz); |
137 |
> |
extern ssize_t readbuf(int fd, char *bpos, ssize_t siz); |
138 |
> |
extern ssize_t writebuf(int fd, char *bpos, ssize_t siz); |
139 |
|
|
140 |
|
#if defined(_WIN32) || defined(_WIN64) |
141 |
|
/* any non-negative increment will send the process to IDLE_PRIORITY_CLASS. */ |