ReadFileIntoBuffer(3W) UNIX System V ReadFileIntoBuffer(3W)
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(3W)
10/89 Page 1