ForwardScanTextBuffer(3W) UNIX System V ForwardScanTextBuffer(3W)
Text Buffer Utilities
NAME
ForwardScanTextBuffer
SYNOPSIS
#include <textbuff.h>
...
extern ScanResult ForwardScanTextBuffer(text, exp, location)
TextBuffer * text;
TextLocation * location;
char * exp;
DESCRIPTION
The ForwardScanTextBuffer function is used to scan, towards the end of
the buffer, for a given expression in the TextBuffer starting at
location. A ScanResult is returned which indicates
SCAN_NOTFOUND The scan wrapped without finding a match.
SCAN_WRAPPED A match was found at a location before the start location.
SCAN_FOUND A match was found at a location after the start location.
SCAN_INVALID Either the location or the expression was invalid.
SEE ALSO
BackwardScanTextBuffer(3W)
10/89 Page 1