DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gcrypt.info.gz) Memory allocation

Info Catalog (gcrypt.info.gz) Utilities
 
 12.1 Memory allocation
 ======================
 
  -- Function: void *gcry_malloc (size_t N)
      This function tries to allocate N bytes of memory.  On success it
      returns a pointer to the memory area, in an out-of-core condition,
      it returns NULL.
 
  -- Function: void *gcry_malloc_secure (size_t N)
      Like `gcry_malloc', but uses secure memory.
 
  -- Function: void *gcry_calloc (size_t N)
      This function tries to allocate N bytes of cleared memory (i.e.
      memory that is initialized with zero bytes).  On success it
      returns a pointer to the memory area, in an out-of-core condition,
      it returns NULL.
 
  -- Function: void *gcry_calloc_secure (size_t N)
      Like `gcry_calloc', but uses secure memory.
 
  -- Function: void *gcry_realloc (void *P, size_t N)
      This function tries to resize the memory area pointed to by P to N
      bytes.  On success it returns a pointer to the new memory area, in
      an out-of-core condition, it returns NULL.  Depending on whether
      the memory pointed to by P is secure memory or not, gcry_realloc
      tries to use secure memory as well.
 
  -- Function: void gcry_free (void *P)
      Release the memory area pointed to by P.
 
Info Catalog (gcrypt.info.gz) Utilities
automatically generated byinfo2html