GetTextBufferLine(3W) — MISC REFERENCE MANUAL PAGES
Text Buffer Utilities
NAME
GetTextBufferLine
SYNOPSIS
#include <textbuff.h>
...
extern char ∗ GetTextBufferLine(text, lineindex)
TextBuffer ∗ text;
TextLine lineindex;
DESCRIPTION
The GetTextBufferLine function is used to retrieve the contents of line from the text TextBuffer. It returns a pointer to a string containing the copy of the contents of the line or NULL if the line is outside the range of valid lines in text.
SEE ALSO
GetTextBufferLocation(3), GetTextBufferChar(3), GetTextBufferBlock(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 dispensable.
Sun Release 4.1 — Last change: — Last change: