#include "system.h"#include "file.h"#include "patchlevel.h"#include "debug.h"Go to the source code of this file.
Defines | |
| #define | USAGE "Usage: %s [-bciknsvz] [-f namefile] [-m magicfiles] file...\n" |
| #define | MAXPATHLEN 512 |
| #define | OPTSTRING "bcdf:ikm:nsvzCL" |
Functions | |
| const char * | rcsid (const char *p) |
| void | unwrap (fmagic fm, char *fn) |
| void | usage (void) |
| int | main (int argc, char **argv) |
Variables | |
| int | nobuffer = 0 |
| const char * | default_separator = ":" |
|
|
Definition at line 49 of file file.c. Referenced by Fts_open(). |
|
|
Referenced by main(). |
|
|
Definition at line 40 of file file.c. Referenced by usage(). |
|
||||||||||||
|
Definition at line 162 of file file.c. References __progname, argv, fmagic_s::flags, fmagic, fmagicProcess(), fmagicSetup(), getenv(), fmagic_s::magicfile, mime, fmagic_s::nob, fmagic_s::obp, fmagic_s::obuf, OPTSTRING, fmagic_s::separator, setlocale, unwrap(), usage(), and xmalloc(). |
|
|
|
|
||||||||||||
|
Definition at line 64 of file file.c. References errno, error(), EXIT_FAILURE, fmagic, fmagicProcess(), fmagic_s::nob, fmagic_s::obp, fmagic_s::obuf, and strerror(). Referenced by main(). |
|
|
Definition at line 111 of file file.c. References __progname, EXIT_FAILURE, and USAGE. Referenced by main(). |
|
|
|
|
|
|
1.3.9.1