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
Sun Release 4.0 — Last change: