35 |
|
|
36 |
|
int nproc = 1; /* number of processes */ |
37 |
|
|
38 |
< |
extern char *formstr(); /* string from format */ |
38 |
> |
extern char *formstr(int f); /* string from format */ |
39 |
> |
extern int setrtoutput(void); /* set output values */ |
40 |
|
int inform = 'a'; /* input format */ |
41 |
|
int outform = 'a'; /* output format */ |
42 |
|
char *outvals = "v"; /* output specification */ |
313 |
|
#endif |
314 |
|
if (outform != 'a') |
315 |
|
SET_FILE_BINARY(stdout); |
316 |
+ |
rval = setrtoutput(); |
317 |
|
readoct(octname = octnm, loadflags, &thescene, NULL); |
318 |
|
nsceneobjs = nobjects; |
319 |
|
|
321 |
|
printargs(i, argv, stdout); |
322 |
|
printf("SOFTWARE= %s\n", VersionID); |
323 |
|
fputnow(stdout); |
324 |
+ |
if (rval > 0) /* saved from setrtoutput() call */ |
325 |
+ |
printf("NCOMP=%d\n", rval); |
326 |
|
if ((outform == 'f') | (outform == 'd')) |
327 |
|
fputendian(stdout); |
328 |
|
fputformat(formstr(outform), stdout); |