Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!umn-cs!bungia!zeno!gene From: gene@zeno.MN.ORG (Gene H. Olson) Newsgroups: comp.unix.xenix Subject: Re: setvbuf() Message-ID: <429@zeno.MN.ORG> Date: 21 Feb 89 13:50:10 GMT References: <20422@agate.BERKELEY.EDU> Reply-To: gene@zeno.MN.ORG (Gene H. Olson) Organization: Smartware Consulting, Minneapolis, MN Lines: 19 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@zeno.mn.org