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