Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix Subject: Re: use of _s[io]buf in stdio library Message-ID: <1086@umcp-cs.UUCP> Date: Fri, 2-Aug-85 22:36:52 EDT Article-I.D.: umcp-cs.1086 Posted: Fri Aug 2 22:36:52 1985 Date-Received: Sun, 4-Aug-85 05:55:08 EDT References: <776@kuling.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 12 Historically, _sibuf was attached to stdin and _sobuf to stdout, voiding the need for malloc() (which could fail, giving one unbuffered I/O, which isn't a great excuse for them anyway). With the advent of variable sized buffers, these should have gone away in 4.2BSD. They are indeed gone in 4.3BSD (and in Sun 1.3). (The 4.3 C library still has the buffers, but they won't get linked in unless you reference them yourself; this was kinder than Sun, where they are completely gone....) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland