GetTextBufferLine(3W) UNIX System V GetTextBufferLine(3W)
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(3W), GetTextBufferChar(3W), GetTextBufferBlock(3W)
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.
10/89 Page 1