setvbuf()

Gene H. Olson gene at zeno.MN.ORG
Tue Feb 21 23:50:10 AEST 1989


Setvbuf appeared (I believe) in System V.2 with a direct conflict
between the Manual Pages that shipped on the system, and the
libraries and lint files.

For a good while there, parameters 2 & 3 were interchanged in
/usr/lib/llib-lc and in the libraries, while the manuals always
showed the parameters as:

	setvbuf(stream, buffer, type, size)

This *feature* made its way into a number of systems (including
XENIX) over the years, and has now been corrected in V.3.

It shouldn't be a problem to lint users, since (at least in my
experience) the lint on a system always agrees with the libraries.
This is just another reason why you should always use lint.

Gene H. Olson
gene at zeno.mn.org



More information about the Comp.unix.xenix mailing list