This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ARM patch: isatty return codes


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.

Attachment: syscalls.patch
Description: Text document


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