Streamer fluid modeling - An overview of ARCoS  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
misc.c File Reference

Miscellaneous utilities. More...

#include <stdlib.h>
#include <stdio.h>
Include dependency graph for misc.c:

Go to the source code of this file.

Functions

void * xmalloc (size_t size)
 Allocates memory with check and (eventually) error reporting.
 
void * xrealloc (void *ptr, size_t size)
 Reallocates memory.
 
void * xcalloc (size_t count, size_t size)
 Reallocates memory, but now initializes the memory to zero.
 

Variables

char * invok_name
 

Detailed Description

Miscellaneous utilities.

Definition in file misc.c.

Function Documentation

void* xmalloc ( size_t  size)

Allocates memory with check and (eventually) error reporting.

Definition at line 12 of file misc.c.

Here is the caller graph for this function:

void* xrealloc ( void *  ptr,
size_t  size 
)

Reallocates memory.

Definition at line 24 of file misc.c.

void* xcalloc ( size_t  count,
size_t  size 
)

Reallocates memory, but now initializes the memory to zero.

Definition at line 37 of file misc.c.

Here is the caller graph for this function:

Variable Documentation

char* invok_name

Name of this program.

Definition at line 36 of file cstream.c.