Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
files.c File Reference
#include "cram/misc.h"
#include <sys/types.h>
#include <sys/stat.h>

Macros

#define S_ISDIR(m)   (((m)&S_IFMT) == S_IFDIR)
 
#define S_ISREG(m)   (((m)&S_IFMT) == S_IFREG)
 

Functions

int is_directory (char *fn)
 
int is_file (char *fn)
 
int file_exists (char *fn)
 
int file_size (char *fn)
 

Macro Definition Documentation

#define S_ISDIR (   m)    (((m)&S_IFMT) == S_IFDIR)
#define S_ISREG (   m)    (((m)&S_IFMT) == S_IFREG)

S_ISDIR

Function Documentation

int file_exists ( char *  fn)
int file_size ( char *  fn)
int is_directory ( char *  fn)

S_ISREG

int is_file ( char *  fn)