Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ReadFileIntoBuffer(3)

ReadStringIntoBuffer(3W)  —  MISC. REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 ReadStringIntoBuffer

SYNOPSIS

#include <buffutil.h>
  ...
extern int ReadStringIntoBuffer(sp, buffer)
Buffer ∗ sp;
Buffer ∗ buffer;

DESCRIPTION

The ReadStringIntoBuffer function reads the buffer associated with sp and inserts the characters read into buffer.  The read operation terminates when either EOF is returned when reading the buffer or when a NEWLINE is encountered.  The function returns the last character read to the caller (either EOF or NEWLINE). 

SEE ALSO

ReadFileIntoBuffer(3)

Sun Release 4.0  —  Last change:

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