#include "file.h"#include "magic.h"#include <string.h>#include <stdlib.h>#include <sys/stat.h>Go to the source code of this file.
Defines | |
| #define | major(dev) (((dev) >> 8) & 0xff) |
| #define | minor(dev) ((dev) & 0xff) |
Functions | |
| static const char * | rcsid (const char *p) |
| int | file_fsmagic (struct magic_set *ms, const char *fn, struct stat *sb) |
| int file_fsmagic | ( | struct magic_set * | ms, | |
| const char * | fn, | |||
| struct stat * | sb | |||
| ) |
Definition at line 64 of file fsmagic.c.
References errno, file_error(), file_printf(), magic_set::flags, magic_set::haderr, major, minor, S_IFSOCK, and strerror.
1.5.2