*BSD News Article 16011


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!utcsri!newsflash.concordia.ca!sifon!storm
From: storm@cs.mcgill.ca (Marc Wandschneider)
Subject: no _iobuf in stdio.h ???
Message-ID: <1993May12.234800.5360@sifon.cc.mcgill.ca>
Sender: news@sifon.cc.mcgill.ca
Organization: SOCS - Mcgill University, Montreal, Canada
Date: Wed, 12 May 1993 23:48:00 GMT
Lines: 23



I'm working trying to compile a rather scary ass program that was written
with a lot of assumptions about what UNIX looks like.

One of the assumptions it made is that stdin is a record with a field
named _cnt.

On our SunOS machine, this is true---stdin/stdout/stderr are of type
_iobuf, but under 386bsd, there is no such structure.  The structure
that stdin IS made of has no field called _cnt...

What should I use instead...?  Our local machine has no documentation 
on what the fields of _iobuf stand for.


Toodlepip!
Marc 'em.
-- 
----------------------------------------------------------------------------
         storm@cs.mcgill.ca           SOCS Staff, McGill University
         Marc Wandschneider                   (514)398-5924
 386bsd--ftp agate.berkeley.edu:/pub/386BSD/386bsd-0.1, mail for FAQ info