Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CopyBuffer(3W) — OpenWindows V2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

AllocateBuffer(3)

FreeBuffer(3)

InsertIntoBuffer(3)

CopyBuffer(3W)  —  MISC. REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 CopyBuffer

SYNOPSIS

#include <buffutil.h>
  ...
extern Buffer ∗ CopyBuffer(buffer)
Buffer ∗ buffer;

DESCRIPTION

The CopyBuffer function is used to allocate a new Buffer with the same attributes as the given buffer and to copy the data associated with the given buffer into the new Buffer.  A pointer to the newly allocated and initialized Buffer is returned.  It is the responsibility of the caller to free this storage when appropriate. 

SEE ALSO

AllocateBuffer(3), FreeBuffer(3), InsertIntoBuffer(3)

Sun Release 4.0  —  Last change:   —  Last change:

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