Mercurial > hg > CbC > CbC_gcc
comparison libiberty/pex-common.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
68 /* If not -1, stderr pipe from the last process. */ | 68 /* If not -1, stderr pipe from the last process. */ |
69 int stderr_pipe; | 69 int stderr_pipe; |
70 /* Number of child processes. */ | 70 /* Number of child processes. */ |
71 int count; | 71 int count; |
72 /* PIDs of child processes; array allocated using malloc. */ | 72 /* PIDs of child processes; array allocated using malloc. */ |
73 long *children; | 73 pid_t *children; |
74 /* Exit statuses of child processes; array allocated using malloc. */ | 74 /* Exit statuses of child processes; array allocated using malloc. */ |
75 int *status; | 75 int *status; |
76 /* Time used by child processes; array allocated using malloc. */ | 76 /* Time used by child processes; array allocated using malloc. */ |
77 struct pex_time *time; | 77 struct pex_time *time; |
78 /* Number of children we have already waited for. */ | 78 /* Number of children we have already waited for. */ |
124 int (*close) (struct pex_obj *, int); | 124 int (*close) (struct pex_obj *, int); |
125 /* Wait for a child to complete, returning exit status in *STATUS | 125 /* Wait for a child to complete, returning exit status in *STATUS |
126 and time in *TIME (if it is not null). CHILD is from fork. DONE | 126 and time in *TIME (if it is not null). CHILD is from fork. DONE |
127 is 1 if this is called via pex_free. ERRMSG and ERR are as in | 127 is 1 if this is called via pex_free. ERRMSG and ERR are as in |
128 fork. Return 0 on success, -1 on error. */ | 128 fork. Return 0 on success, -1 on error. */ |
129 int (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */, | 129 pid_t (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */, |
130 struct pex_time * /* time */, int /* done */, | 130 struct pex_time * /* time */, int /* done */, |
131 const char ** /* errmsg */, int * /* err */); | 131 const char ** /* errmsg */, int * /* err */); |
132 /* Create a pipe (only called if PEX_USE_PIPES is set) storing two | 132 /* Create a pipe (only called if PEX_USE_PIPES is set) storing two |
133 descriptors in P[0] and P[1]. If BINARY is non-zero, open in | 133 descriptors in P[0] and P[1]. If BINARY is non-zero, open in |
134 binary mode. Return 0 on success, -1 on error. */ | 134 binary mode. Return 0 on success, -1 on error. */ |