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
misc.h File Reference
#include "cram/os.h"
#include <stdio.h>
#include <stdarg.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define __NORETURN__
 
#define __PRINTF_FORMAT__(a, b)
 
#define MIN(A, B)   ( ( (A) < (B) ) ? (A) : (B) )
 
#define MAX(A, B)   ( ( (A) > (B) ) ? (A) : (B) )
 

Functions

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

Macro Definition Documentation

#define __NORETURN__
#define __PRINTF_FORMAT__ (   a,
 
)
#define MAX (   A,
 
)    ( ( (A) > (B) ) ? (A) : (B) )
#define MIN (   A,
 
)    ( ( (A) < (B) ) ? (A) : (B) )

Function Documentation

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

S_ISREG

int is_file ( char *  fn)