Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ AllocBuffer(3W) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

FreeBuffer(3W)



AllocateBuffer(3W)               UNIX System V               AllocateBuffer(3W)


                                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
      elementsize.  The used member of the Buffer is set to zero and the size
      member is set to the value of initialsize.  If initialsize is zero the
      pointer p is set to NULL, otherwise the amount of space required
      (initialsize * elementsize) is allocated and the pointer p is set to
      point to this space.  The function returns the pointer to the allocated
      Buffer.

SEE ALSO
      FreeBuffer(3W)































10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026