www.delorie.com/djgpp/doc/libc/libc_87.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

cfree

Syntax

 
#include <stdlib.h>

void cfree(void *pointer);

Description

This function returns the memory allocated by calloc (see section calloc) to the heap.

Return Value

None.

Portability

ANSI/ISO C No
POSIX No

Example

 
Complex *x = calloc(12, sizeof(Complex));
cfree(x);


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004