Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site kuling.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!kuling!gostas From: gostas@kuling.UUCP (G|sta Simil{/ml) Newsgroups: net.unix Subject: use of _s[io]buf in stdio library Message-ID: <776@kuling.UUCP> Date: Thu, 1-Aug-85 16:14:29 EDT Article-I.D.: kuling.776 Posted: Thu Aug 1 16:14:29 1985 Date-Received: Sat, 3-Aug-85 21:09:45 EDT Reply-To: gostas@kuling.UUCP (G|sta Simil{/ml) Organization: The Royal Inst. of Techn., Stockholm Lines: 10 Has anyone got a idea why the stdio-package declares but never uses two buffers, "_sibuf" and "_sobuf"? They are declared as s[io]buf[BUFSIZ] in s[io]buf.c (4.2 bsd). I have thought about using them in my own programs, maybe that's even what they are for!? Just grepped through some of the source. Some programs use setbuf() to make use of _sobuf. Strange was however that most of this programs seems to be programs who looks into kernel memory, ps, sps, w, who etc. G|sta Simil{ gostas@kuling.UUCP