system.h File Reference

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "popt.h"
Include dependency graph for system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _isspaceptr(_chp)   isspace((int)(*(unsigned char *)(_chp)))
#define xmalloc(_size)   malloc(_size)
#define xcalloc(_nmemb, _size)   calloc((_nmemb), (_size))
#define xrealloc(_ptr, _size)   realloc((_ptr), (_size))
#define xstrdup(_str)   strdup(_str)

Functions

void * malloc (size_t size)
void * calloc ((size_t nmemb),(size_t size))
void * realloc ((void *ptr),(size_t size))
char * strdup (const char *str)

Define Documentation

#define _isspaceptr ( _chp   )     isspace((int)(*(unsigned char *)(_chp)))
#define xcalloc ( _nmemb,
_size   )     calloc((_nmemb), (_size))

Definition at line 76 of file system.h.

#define xmalloc ( _size   )     malloc(_size)

Definition at line 75 of file system.h.

#define xrealloc ( _ptr,
_size   )     realloc((_ptr), (_size))

Definition at line 77 of file system.h.

#define xstrdup ( _str   )     strdup(_str)

Function Documentation

void* calloc ( (size_t nmemb)  ,
(size_t size)   
)
void* malloc ( size_t  size  ) 
void* realloc ( (void *ptr)  ,
(size_t size)   
)
char* strdup ( const char *  str  ) 

Generated for popt by  doxygen 1.6.2-20100208