s/qmail  3.3.23
Next generation secure email transport
Data Structures | Macros | Functions
alloc.c File Reference
#include <stdlib.h>
#include <stdint.h>
#include "alloc.h"
#include "error.h"
Include dependency graph for alloc.c:

Go to the source code of this file.

Data Structures

union  aligned
 

Macros

#define ALIGNMENT   16 /* XXX: assuming that this alignment is enough */
 
#define SPACE   4096 /* must be multiple of ALIGNMENT */
 
#define space   ((char *) realspace)
 

Functions

void * malloc ()
 
void free ()
 
char * alloc (unsigned int n)
 
void alloc_free (char *x)
 

Macro Definition Documentation

◆ ALIGNMENT

#define ALIGNMENT   16 /* XXX: assuming that this alignment is enough */

Definition at line 8 of file alloc.c.

◆ SPACE

#define SPACE   4096 /* must be multiple of ALIGNMENT */

Definition at line 9 of file alloc.c.

◆ space

#define space   ((char *) realspace)

Definition at line 13 of file alloc.c.

Function Documentation

◆ alloc()

char* alloc ( unsigned int  n)

Definition at line 16 of file alloc.c.

Here is the caller graph for this function:

◆ alloc_free()

void alloc_free ( char *  x)

Definition at line 26 of file alloc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free()

void free ( )
Here is the caller graph for this function:

◆ malloc()

void* malloc ( )
Here is the caller graph for this function: