This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc 2.0 accessing _cnt member in FILE struct (stdio.h)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]