Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RegisterTextBufferWordDefinition(3W) — SunOS 4.1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RegisterTextBufferWordDefinition(3W)  —  MISC REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 RegisterTextBufferWordDefinition

SYNOPSIS

#include <textbuff.h>
  ...
extern void RegisterTextBufferWordDefinition(word_definition)
int (∗word_definition)();

DESCRIPTION

The RegisterTextBufferWordDefinition procedure provides the capability to replace the word definition function used by the TextBuffer Utilities.  This function is called as:~

(∗word_definition)(c);

The function is responsible for returning non-zero if the character c is considered a character that can occur in a word and zero otherwise. Calling this function with NULL reinstates the default word definition which allows the following set of characters: a-zA-Z0-9_

Sun Release 4.1  —  Last change: {:heading=>"RegisterTextBufferWordDefinition\|(\|3W\|)\0\0\(em\0\0\∗(]D"}

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