Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

GetTextBufferLocation(3)

GetTextBufferChar(3)

GetTextBufferLine(3)

GetTextBufferBlock(3W)  —  MISC REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 GetTextBufferBlock

SYNOPSIS

#include <textbuff.h>
  ...
extern char ∗ GetTextBufferBlock(text, start_location, end_location)
TextBuffer ∗ text;
TextLocation start_location;
TextLocation end_location;

DESCRIPTION

The GetTextBufferBlock function is used to retrieve a text block from the text TextBuffer.  The block is defined as the characters between start_location and end_location inclusive.  It returns a pointer to a string containing the copy.  If the parameters are invalid NULL is returned. 

SEE ALSO

GetTextBufferLocation(3), GetTextBufferChar(3), GetTextBufferLine(3)

NOTE

The storage for the copy is allocated by this routine.  It is the responsibility of the caller to free this storage when it becomes dispensible.

Sun Release 4.1  —  Last change:   —  Last change:

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