missing functions in newlib

Nicholas Wourms nwourms@netscape.net
Fri Aug 22 20:01:00 GMT 2003

Joel Sherrill wrote:
> J. Johnston wrote:
>> chris wrote:
>>> Hello!
>>> I was suprised to not find in the FAQ "XXX is missing from newlib", so I
>>> shall have to ask it here.
>> There are lots of things that are "not" in newlib.  Adding all of them 
>> would
>> be a thankless exercise and make for a very large FAQ.  The
>> library is essentially ANSI C90 plus a large variety of extensions.
> Also when not in a bare embedded system, newlib is usually used with
> an OS environment like Cygwin or RTEMS that has additional libraries
> and capabilities.  For example, RTEMS has all of the pthread, message
> queue, semaphore, and basic systems calls in its own libraries.

The RTEMS implimentation is nice.  I'm sure we'd always welcome a port 
of the parts of your wonderful advanced timers/threads implimentation we 
are missing in Cygwin ;-).

Actually, back to the original subject, I have ported the error-related 
functions (found in err.h) from FreeBSD.  I also did 
getprogname/setprogname, which is also frequently found in BSD software 
(though it doesn't use crt0 to "set the progname", so you will always 
have to do it with setprogname()).  I did so mainly because it was 
getting annoying having to convert all the error checking code in the 
other, more complex, functions I've been working on.  I'll post it later 
on once things have settled a bit WRT the impending Cygwin release.


More information about the Newlib mailing list