ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rtprocess.h
(Generate patch)

Comparing ray/src/common/rtprocess.h (file contents):
Revision 3.19 by greg, Fri Feb 28 16:23:47 2020 UTC vs.
Revision 3.21 by greg, Mon Jan 18 03:55:33 2021 UTC

# Line 19 | Line 19
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  
# Line 134 | Line 134 | typedef struct {
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. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines