Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watcgl.UUCP Path: utzoo!watmath!watcgl!dmmartindale From: dmmartindale@watcgl.UUCP (Dave Martindale) Newsgroups: net.unix-wizards Subject: Re: rcs problem Message-ID: <2386@watcgl.UUCP> Date: Sat, 7-Apr-84 14:56:19 EST Article-I.D.: watcgl.2386 Posted: Sat Apr 7 14:56:19 1984 Date-Received: Sun, 8-Apr-84 01:33:43 EST References: <971@qubix.UUCP> Organization: U of Waterloo, Ontario Lines: 6 In versions of stdio which use _sobuf, it is the already-allocated internal buffer used for the standard output stream. "setbuf(stdout, _sobuf)" forces stdio to buffer stdout even when it would ordinarily not do so (e.g. output is to a tty) but cleverly uses the buffer which is already allocated to that purpose rather than allocating a new one. As you discovered, rather non-portable.