[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_realloc

Overview

Resize a previously allocated block of memory

Syntax

    void *ns_realloc(
    	void *buf,
    	size_t size
    );

Description

The ns_realloc function reallocates a block of memory previously allocated with ns_malloc or ns_calloc to the given size. The block of memory may or may not move as a result. This function replaces the system realloc function.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.