#include "rle_config.h"
#include "stdio.h"
#include "getfb.h"
#include "rle_code.h"
Go to the source code of this file.
main |
( |
argc |
, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 21 of file getgmr.c.
28 "% D%- q%- BO%- Pi%-x!dy!d c%-channel!dinto%d file%s ",
35 if ((!
query) && Fbopen() < 0)
38 if (fread((
char *)&magic,
sizeof(
short), 1,
fd) != 1)
40 fprintf(stderr,
"Can't read magic number\n");
48 fprintf(stderr,
"Image saved in Run Length Encoded form\n");
54 "File not an RLE file, can't restore (magic=0x%x)\n",
int scanargs(int argc, char **argv, const char *format,...)
FILE * rle_open_f(const char *prog_name, const char *f_name, const char *mode)