AllocateBuffer(3W) — MISC REFERENCE MANUAL PAGES
Text Buffer Utilities
NAME
AllocateBuffer
SYNOPSIS
#include <buffutil.h>
...
extern Buffer ∗ AllocateBuffer(element_size, initial_size)
int element_size;
int initial_size;
DESCRIPTION
The AllocateBuffer function allocates a Buffer for elements of the given element_size. The used member of the Buffer is set to zero and the size member is set to the value of initial_size. If initial_size is zero the pointer p is set to NULL, otherwise the amount of space required (initial_size ∗ element_size) is allocated and the pointer p is set to point to this space. The function returns the pointer to the allocated Buffer.
SEE ALSO
Sun Release 4.1 — Last change: {:heading=>"AllocateBuffer\|(\|3W\|)\0\0\(em\0\0\∗(]D"} — Last change: {:heading=>"AllocateBuffer\|(\|3W\|)\0\0\(em\0\0\∗(]D"}