Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

GetTextBufferBlock(3)

GetTextBufferLocation(3W)  —  MISC. REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 GetTextBufferLocation

SYNOPSIS

#include <textbuff.h>
  ...
extern char ∗ GetTextBufferLocation(text, line_number, location)
TextBuffer ∗ text;
TextLine line_number;
TextLocation ∗ location;

DESCRIPTION

The GetTextBufferLocation function is used to retrieve the contents of the given line within the TextBuffer.  It returns a pointer to the character string.  If the line number is invalid a NULL pointer is returned.  If a non-NULL TextLocation pointer is supplied in the argument list the contents of this structure are modified to reflect the values corresponding to the given line. 

SEE ALSO

GetTextBufferBlock(3)

Sun Release 4.0  —  Last change:

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