Subject: Re: Porting question (FILE)
To: Jesus M. Gonzalez <>
From: None <>
List: netbsd-users
Date: 04/28/1995 09:16:05
>I'm trying to port a program (a empire client) which currently
>runs on SunOS. It uses the field _cnt in a FILE struct:

This is horribly NON-portable code...

>I've found no _cnt in NetBSd's FILE...

Thats is because they do things in different ways.  The current
residual read length is kept in _r, and write is _w for NetBSD.