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.22 by greg, Tue Jan 19 18:15:32 2021 UTC vs.
Revision 3.25 by greg, Tue Oct 29 00:35:06 2024 UTC

# Line 54 | Line 54 | extern "C" {
54     attached to the standard output of the child, and subsequent writes
55     to that descriptor in the parent send data to the standard input
56     of the child. The returned r descriptor is set to -1, since
57 <   there is no output to read from any longer in the child.  The
57 >   there is no longer any output to read from the child.  The
58     default w descriptor of 1 will cause the child to act as a filter
59     on the output of the parent.  Make sure to call fflush(stdout) first
60     if any data was buffered.  It is illegal to set both PF_FILT_INP and
# Line 134 | Line 134 | typedef struct {
134  
135   extern int open_process(SUBPROC *pd, char *av[]);
136   extern int close_processes(SUBPROC pd[], int nproc);
137 < extern int process(SUBPROC *pd, char *recvbuf, char *sendbuf, int nbr, int nbs);
138 < extern ssize_t readbuf(int fd, char *bpos, ssize_t siz);
139 < extern ssize_t writebuf(int fd, char *bpos, ssize_t siz);
137 > extern int process(SUBPROC *pd, void *recvbuf, void *sendbuf, int nbr, int nbs);
138 > extern ssize_t readbuf(int fd, void *bpos, ssize_t siz);
139 > extern ssize_t writebuf(int fd, const void *bpos, ssize_t siz);
140  
141   #if defined(_WIN32) || defined(_WIN64)
142   /* any non-negative increment will send the process to IDLE_PRIORITY_CLASS. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines