Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RegTxtBufUp(3W) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

UnregisterTextBufferUpdate(3W)

ReadStringIntoTextBuffer(3W)

ReadFileIntoTextBuffer(3W)



RegisterTextBufferUpdate(3W)     UNIX System V     RegisterTextBufferUpdate(3W)


                                Text Buffer Utilities

NAME
       RegisterTextBufferUpdate

SYNOPSIS
      #include<textbuff.h>
        ...
      extern void RegisterTextBufferUpdate(text, f, d)
      TextBuffer * text;
      TextUpdateFunction f;
      caddr_t d;

DESCRIPTION
      The RegisterTextBufferUpdate procedure associates the TextUpdateFunction
      f and data pointer d with the given TextBuffer text.  This update
      function will be called whenever an update operation is performed on the
      TextBuffer.  See ReplaceBlockInTextBuffer for more details.

SEE ALSO
      UnregisterTextBufferUpdate(3W), ReadStringIntoTextBuffer(3W),
      ReadFileIntoTextBuffer(3W)

NOTE
      Calling this function increments a reference count mechanism used to
      determine when to actually free the TextBuffer.  Calling the function
      with a NULL value for the function circumvents this mechanism.



























10/89                                                                    Page 1





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