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
Sun Release 4.1 — Last change: