Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

util.c File Reference

#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <ctype.h>
#include "util.h"
#include <malloc.h>
#include <stdlib.h>

Defines

#define ABNORMAL_RETURN_CODE   1
#define MAX_STRING_LENGTH   65535
#define F_OK   0

Functions

char* dequote (char *s)
void quote_no_matter_what (const char *s,char *t)
const char* quote (const char *s)
int verify (char *string,char *valid)
char* strip (char *s)
char* upper (char *s)
char* lower (char *s)
int qfilef (const char *fname)
int free_storage (char *fn)
char* util_strdup (char *string)
void* util_malloc (int size)
void* util_calloc (int num,int size)
void* util_realloc (void *p,int size)
void util_free (void *p)
int util_space_in_use (void)
int util_pointers_in_use (void)

Variables

char buf [1024]
int display_allocs = FALSE

Define Documentation

#define ABNORMAL_RETURN_CODE   1
 

#define F_OK   0
 

#define MAX_STRING_LENGTH   65535
 


Function Documentation

char* dequote ( char * s )
 

int free_storage ( char * fn )
 

char* lower ( char * s )
 

int qfilef ( const char * fname )
 

const char* quote ( const char * s )
 

void quote_no_matter_what ( const char * s,
char * t )
 

char* strip ( char * s )
 

char* upper ( char * s )
 

void* util_calloc ( int num,
int size )
 

void util_free ( void * p )
 

void* util_malloc ( int size )
 

int util_pointers_in_use ( void )
 

void* util_realloc ( void * p,
int size )
 

int util_space_in_use ( void )
 

char* util_strdup ( char * string )
 

int verify ( char * string,
char * valid )
 


Variable Documentation

char buf[1024]
 

int display_allocs = FALSE
 


Generated at Fri Jul 26 18:22:40 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000