1 |
|
#ifndef lint |
2 |
< |
static const char RCSid[] = "$Id"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
4 |
|
/* |
5 |
|
* Radiance object animation program |
168 |
|
|
169 |
|
|
170 |
|
void |
171 |
< |
eputs(s) /* put string to stderr */ |
172 |
< |
register char *s; |
171 |
> |
eputs( /* put string to stderr */ |
172 |
> |
register char *s |
173 |
> |
) |
174 |
|
{ |
175 |
|
static int midline = 0; |
176 |
|
|
185 |
|
fflush(stderr); |
186 |
|
midline = 0; |
187 |
|
} |
188 |
+ |
} |
189 |
+ |
|
190 |
+ |
|
191 |
+ |
void |
192 |
+ |
quit(ec) /* make sure exit is called */ |
193 |
+ |
int ec; |
194 |
+ |
{ |
195 |
+ |
if (ray_pnprocs > 0) /* close children if any */ |
196 |
+ |
ray_pclose(0); |
197 |
+ |
exit(ec); |
198 |
|
} |
199 |
|
|
200 |
|
|