NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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__

Definition at line 85 of file misc.h.

#define __PRINTF_FORMAT__ (   a,
 
)

Definition at line 96 of file misc.h.

#define MAX (   A,
 
)    ( ( (A) > (B) ) ? (A) : (B) )

Definition at line 104 of file misc.h.

#define MIN (   A,
 
)    ( ( (A) < (B) ) ? (A) : (B) )

Definition at line 103 of file misc.h.

Function Documentation

int file_size ( char *  fn)

Definition at line 70 of file files.c.

int is_directory ( char *  fn)

S_ISREG

Definition at line 50 of file files.c.

int is_file ( char *  fn)

Definition at line 57 of file files.c.