57 |
|
|
58 |
|
#define SP_INACTIVE {-1,-1,0,0} /* for static initializations */ |
59 |
|
|
60 |
+ |
#define close_process(pd) close_processes(pd,1) |
61 |
+ |
|
62 |
|
extern int open_process(SUBPROC *pd, char *av[]); |
63 |
< |
extern int close_process(SUBPROC *pd); |
63 |
> |
extern int close_processes(SUBPROC pd[], int nproc); |
64 |
|
extern int process(SUBPROC *pd, char *recvbuf, char *sendbuf, int nbr, int nbs); |
65 |
|
extern int readbuf(int fd, char *bpos, int siz); |
66 |
|
extern int writebuf(int fd, char *bpos, int siz); |
67 |
|
|
68 |
|
#ifdef _WIN32 |
69 |
|
/* any non-negative increment will send the process to IDLE_PRIORITY_CLASS. */ |
70 |
+ |
extern int win_kill(RT_PID pid, int sig /* ignored */); |
71 |
|
extern int win_nice(int inc); |
72 |
|
#endif |
73 |
|
|