Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

using Errno with uC and Eclipse

Hello everyone,

I was just wondering how I must setup Eclipse/uC so that I can read errno values from my various code/functions.

Currently its just returning 0.

I tried adding# define _REENTRANT to my .c/.h files but that had no effect.

I'd like to try to add -D REENTRANT to the compiler flags but I cant seem to find where to set that in Eclipse.

Anyone have any ideas, much appreciated.

Thanks

Kris
No RepliesBe the first to reply