file/src/fsmagic.c File Reference

#include "file.h"
#include "magic.h"
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>

Go to the source code of this file.

Defines

#define HAVE_MAJOR

Functions

static const char * rcsid (const char *p)
protected int file_fsmagic (struct magic_set *ms, const char *fn, struct stat *sb)

Define Documentation

#define HAVE_MAJOR

Definition at line 50 of file fsmagic.c.


Function Documentation

protected 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, and minor.

static const char* rcsid ( const char *  p  )  [static]

Definition at line 60 of file fsmagic.c.


Generated on 8 Jun 2012 for rpm by  doxygen 1.6.1