Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

BackwardScanTextBuffer(3)

ForwardScanTextBuffer(3W)  —  MISC REFERENCE MANUAL PAGES

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(3)

Sun Release 4.1  —  Last change:   —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026