60 |
|
void |
61 |
|
quit(int code) /* quit program */ |
62 |
|
{ |
63 |
< |
if (!code) |
64 |
< |
code = myRPmanager.Cleanup(); |
65 |
< |
|
66 |
< |
exit(code); |
63 |
> |
exit(code); // don't bother about freeing anything |
64 |
|
} |
65 |
|
|
66 |
|
/* Set default options */ |
521 |
|
void |
522 |
|
rpict(int seq, char *pout, char *zout, char *prvr) |
523 |
|
/* |
524 |
< |
* If seq is greater than zero, then we will render a sequence of |
524 |
> |
* If seq is greater than zero, we will render a sequence of |
525 |
|
* images based on view parameter strings read from the standard input. |
526 |
|
* If pout is NULL, then all images will be sent to the standard ouput. |
527 |
|
* If seq is greater than zero and prvr is an integer, then it is the |
567 |
|
if (!dtype) |
568 |
|
error(USER, "ResumeFrame() failed"); |
569 |
|
if (!seq) |
570 |
< |
return; // all done if we're running a sequence |
570 |
> |
return; // all done if not a sequence |
571 |
|
} |
572 |
|
do { |
573 |
|
if (prvr) // have view from sequence recovery? |
619 |
|
zout ? dbuf : zout) |
620 |
|
&& !seq | (errno != EEXIST)) |
621 |
|
error(USER, "RenderFrame() failed"); |
622 |
< |
} while (seq++); // all done if we're running a sequence |
622 |
> |
} while (seq++); // all done if not a sequence |
623 |
|
} |