This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
glibc 2.0 accessing _cnt member in FILE struct (stdio.h)
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: glibc 2.0 accessing _cnt member in FILE struct (stdio.h)
- From: "John E. de Valpine" <jedev@visarc.com>
- Date: Wed, 14 Jul 1999 19:29:29 -0400
- Organization: VISARC Inc
- References: <199907142301.TAA18677@ricardo.ecn.wfu.edu>
- Reply-To: glibc-linux@ricardo.ecn.wfu.edu
Hi:
Glibc 2.0 has opaque stdio. How can I get access to the _cnt member of
of the FILE struct. Looking into the source for glibc 2.0.6 (?) shows
that stdio/glue.c appears to resolve this. But I can find no reference
to this in /usr/include/stdio.h. Is this something that needs to be
compiled into the library specially or accessed differently.
Or is there another way to query the input buffer status?
I am running Redhat 5.2 (2.0.36) with glibc 2.0.7.
Thank you for your time.
Regards,
-Jack de Valpine