1 |
– |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* mt160r.c - program to dump pixel file to Mannesman-Tally 160. |
6 |
|
* |
11 |
|
#ifdef MSDOS |
12 |
|
#include <fcntl.h> |
13 |
|
#endif |
14 |
+ |
#include <time.h> |
15 |
|
|
16 |
|
#include "color.h" |
17 |
|
#include "resolu.h" |
71 |
|
} |
72 |
|
|
73 |
|
fputs("\033[6~\033[7z", stdout); |
76 |
– |
#ifdef _IOLBF |
77 |
– |
stdout->_flag &= ~_IOLBF; |
78 |
– |
#endif |
74 |
|
|
75 |
|
for (i = yres-1; i >= 0; i--) { |
76 |
|
if (freadcolrs(scanline, xres, input) < 0) { |