Searched refs:magicfile (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/external/bsd/file/dist/src/ |
H A D | magic.c | 260 magic_getpath(const char *magicfile, int action) argument 262 if (magicfile != NULL) 263 return magicfile; 265 magicfile = getenv("MAGIC"); 266 if (magicfile != NULL) 267 return magicfile; 323 magic_load(struct magic_set *ms, const char *magicfile) argument 327 return file_apprentice(ms, magicfile, FILE_LOAD); 346 magic_compile(struct magic_set *ms, const char *magicfile) argument 350 return file_apprentice(ms, magicfile, FILE_COMPIL 354 magic_check(struct magic_set *ms, const char *magicfile) argument 362 magic_list(struct magic_set *ms, const char *magicfile) argument [all...] |
H A D | file.c | 211 const char *magicfile = NULL; /* where the magic is */ local 287 if ((magic = load(magicfile, flags)) == NULL) 306 magicfile = optarg; 334 if (magicfile == NULL) 335 magicfile = magic_getpath(magicfile, action); 339 magicfile); 404 c = magic_check(magic, magicfile); 407 c = magic_compile(magic, magicfile); 410 c = magic_list(magic, magicfile); 495 load(const char *magicfile, int flags) argument [all...] |
/netbsd-current/external/gpl2/mkhybrid/dist/libfile/ |
H A D | lfile.c | 100 char *magicfile; /* where magic be found */ variable
|
H A D | file.h | 109 extern char *magicfile; /* name of the magic file */
|
Completed in 82 milliseconds