ARM patch: isatty return codes

Christophe Lyon christophe.lyon@st.com
Thu Sep 2 21:31:00 GMT 2010


Hello,

It seems that the current isatty() implementation for ARM does not 
return the right values (as described in "man isatty")

It should return 0 on error, instead of -1 currently.

I propose the attached patch.

Regards,

Christophe.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: syscalls.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20100902/25032ba4/attachment.ksh>


More information about the Newlib mailing list