From: Duperval Laurent (duperval@ERE.Umontreal.CA)
Date: 04/29/93


From: duperval@ERE.Umontreal.CA (Duperval Laurent)
Subject: [GCC] <stdio.h> question: What is FILE->_cnt?
Date: Fri, 30 Apr 1993 03:55:30 GMT

HI all,

I'm trying to port a program to Linux and I've stumbled upon something I don't
know how to work around. The program, at some point, needs to get the value
of a the _cnt member of a FILE declaration.

I've looked at <stdio.h> on a Sun, on an SGI and on an Apollo. They all have
that member but Linux doesn't. I'm pretty sure I can do it with Linux but
since all those other systems have no comments on what _cnt is or does... I'm
stumped.

Can someone out there explain to me what _cnt stands for in FILE (on BSD
systems) and how I can get the same behavior out of Linux?

Thanx.