gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

alloca.c File Reference
#include <config.h>
#include <alloca.h>
#include <string.h>
#include <stdlib.h>
Include dependency graph for alloca.c:

Go to the source code of this file.

Data Structures

union  hdr


#define memory_full()   abort ()
#define STACK_DIRECTION   0 /* Direction unknown. */
#define STACK_DIR   stack_dir
#define ALIGN_SIZE   sizeof(double)


typedef union hdr header


static int find_stack_direction (int *addr, int depth)
void * alloca (size_t size)


static int stack_dir
static headerlast_alloca_header = NULL

Macro Definition Documentation


#define ALIGN_SIZE   sizeof(double)

Definition at line 107 of file alloca.c.

◆ memory_full

#define memory_full ( )    abort ()

Definition at line 39 of file alloca.c.


#define STACK_DIR   stack_dir

Definition at line 84 of file alloca.c.


#define STACK_DIRECTION   0 /* Direction unknown. */

Definition at line 74 of file alloca.c.

Typedef Documentation

◆ header

typedef union hdr header

Function Documentation

◆ alloca()

void* alloca ( size_t  size)

Definition at line 130 of file alloca.c.

◆ find_stack_direction()

static int find_stack_direction ( int *  addr,
int  depth 

Definition at line 87 of file alloca.c.

Referenced by alloca().

Variable Documentation

◆ last_alloca_header

header* last_alloca_header = NULL

Definition at line 120 of file alloca.c.

Referenced by alloca().

◆ stack_dir

int stack_dir

Definition at line 83 of file alloca.c.