#include "file.h"
#include "magic.h"
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
Include dependency graph for fsmagic.c:
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) |
|
|
|
|
|
Definition at line 64 of file fsmagic.c. References errno, file_error(), file_printf(), magic_set::flags, magic_set::haderr, MAGIC_DEVICES, MAGIC_ERROR, magic_file(), MAGIC_MIME, MAGIC_SYMLINK, major, minor, S_IFSOCK, and strerror. Referenced by magic_file(). |
|
|