Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RegisterTextBufferScanFunctions(3W)  —  MISC. REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 RegisterTextBufferScanFunctions

SYNOPSIS

#include <textbuff.h>
  ...
extern void RegisterTextBufferScanFunctions(forward, backward)
char ∗ (∗forward)();
char ∗ (∗backward)();

DESCRIPTION

The RegisterTextBufferScanFunctions procedure provides the capability to replace the scan functions used by the ForwardScanTextBuffer and BackwardScanTextBuffer functions.  These functions are called as:~

(∗forward)(string, curp, expression);
(∗backward)(string, curp, expression);

and are responsible for returning either a pointer to the begining of a match for the expression or NULL. Calling this procedure with NULL function pointers reinstates the default regular expression facility.

Sun Release 4.0  —  Last change:

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