Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ReadStringIntoBuffer(3)

ReadFileIntoBuffer(3W)  —  MISC REFERENCE MANUAL PAGES

Text Buffer Utilities

NAME

 ReadFileIntoBuffer

SYNOPSIS

#include <buffutil.h>
  ...
extern int ReadFileIntoBuffer(fp, buffer)
FILE ∗ fp;
Buffer ∗ buffer;

DESCRIPTION

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

SEE ALSO

ReadStringIntoBuffer(3)

Sun Release 4.1  —  Last change:

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