[gccsdk] fgets problem/Unixlib

david_m_gee david_m_gee at blueyonder.co.uk
Tue Mar 4 03:05:34 PST 2014


On GCC 4.1.2/Unixlib, running on a Raspberry Pi, fgets() does not appear to
work. It returns NULL when there is data in the file to read. It makes no
difference whether the code is statically or dynamically linked, but the
shared C library version works fine with exactly the same data file.

See https://www.riscosopen.org/forum/forums/11/topics/2447 for further
details.

-- 
David Gee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riscos.info/pipermail/gcc/attachments/20140304/3e0550bc/attachment.html>


More information about the gcc mailing list