libksba  1.6.0
About: KSBA is a library to make the tasks of working with X.509 certificates, CMS data and related objects more easy.
  Fossies Dox: libksba-1.6.0.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

gen-help.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "gen-help.h"
Include dependency graph for gen-help.c:

Go to the source code of this file.

Functions

static void out_of_core (void)
 
void * xmalloc (size_t n)
 
void * xcalloc (size_t n, size_t m)
 
void * xrealloc (void *mem, size_t n)
 
char * xstrdup (const char *str)
 
void xfree (void *a)
 
char * gen_help_stpcpy (char *a, const char *b)
 
const char * gpg_strerror (int err)
 

Function Documentation

◆ gen_help_stpcpy()

char* gen_help_stpcpy ( char *  a,
const char *  b 
)

Definition at line 86 of file gen-help.c.

◆ gpg_strerror()

const char* gpg_strerror ( int  err)

◆ out_of_core()

static void out_of_core ( void  )
static

Definition at line 29 of file gen-help.c.

Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup().

◆ xcalloc()

void* xcalloc ( size_t  n,
size_t  m 
)

Definition at line 48 of file gen-help.c.

References out_of_core().

◆ xfree()

void xfree ( void *  a)

Definition at line 76 of file gen-help.c.

References free().

◆ xmalloc()

void* xmalloc ( size_t  n)

Definition at line 39 of file gen-help.c.

References malloc(), and out_of_core().

◆ xrealloc()

void* xrealloc ( void *  mem,
size_t  n 
)

Definition at line 57 of file gen-help.c.

References out_of_core().

◆ xstrdup()

char* xstrdup ( const char *  str)

Definition at line 67 of file gen-help.c.

References out_of_core().