BackwardScanTextBuffer(3W) UNIX System V BackwardScanTextBuffer(3W)
Text Buffer Utilities
NAME
BackwardScanTextBuffer
SYNOPSIS
#include <textbuff.h>
...
extern ScanResult BackwardScanTextBuffer(text, exp, location)
TextBuffer * text;
char * exp;
TextLocation * location;
DESCRIPTION
The BackwardScanTextBuffer function is used to scan, towards the
beginning 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 after the start location.
SCAN_FOUND A match was found at a location before the start location.
SCAN_INVALID Either the location or the expression was invalid.
SEE ALSO
ForwardScanTextBuffer(3W)
10/89 Page 1