CopyBuffer(3W) UNIX System V CopyBuffer(3W)
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(3W), FreeBuffer(3W), InsertIntoBuffer(3W)
10/89 Page 1