http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47694
--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-17 01:07:20 UTC --- the "file" is not seekable so the position eturne by seek always returns zero. I plane to see if we can do something with the seek to get it to return a position within fbuf. If that does not seem reasonable, I will go with the fbuf_fgetc approach which should be fairly efficient.