Subject: How to translate this stdio code to netbsd?
To: None <current-users@NetBSD.ORG>
From: Carsten Hammer <chammer@phyhammer>
List: current-users
Date: 03/08/1996 14:54:16
Operating System: NetBSD 1.1A amiga
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Length: 575       

perhaps some kind soul i willing to enlighten me how
to translate this code to netbsd style:

FILE *f;
charr *base, *ptr;
int cnt;

#ifdef __linux__
    base = (char *)f->_IO_read_base;
    ptr = (char *)f->_IO_read_ptr;
    cnt = ptr - base;
    base = (char *)f->_base;
    ptr = (char *)f->_ptr;
    cnt = f->_cnt;

what is the pseudonym of _IOEOF,_IOMYBU and _IOERR on netbsd?

thank you very much,

PS: it is maybe ridiculous to "translate" this to netbsd. I 
dont understand very much of the underlying code so dont eat me
in this case:)