Hi,
Could you tell me whether an open group or a company provides the ANSI C library for PalmOS? I need to port an application to PalmOS, and some code source use the ANSI C library...
CodeWarrior for Palm OS comes with a partial implementation of the ANSI C library. From the V9 release notes:
=============================================================================== Standard C Library ===============================================================================
A full set of standard headers for a freestanding implemention of Standard C are provided. This set is defined by section 4 of the ISO C (1999) document to include <float.h>, <iso646.h>, <limits.h>, <stdarg.h>, <stdbool.h>, <stddef.h>, and <stdint.h>.
In addition to these headers, some additional standard library functionality is provided as follows:
<assert.h>
assert<errno.h>
errno<stdlib.h>
atoi, atol, strtol, strtoul, rand, srand, calloc, free, malloc,
realloc, __msize, RAND_MAX, abort, exit, bsearch, qsort, div_t,
ldiv_t, abs, labs, div, ldiv<string.h>
everything but strerror and __strerror<time.h>
CLOCKS_PER_SEC, clock_t, clock<stdio.h>
EOFNo implementations are provided for items mentioned in these headers:
<signal.h>, <wctype.h>, <wchar.h>, <locale.h>, <math.h>
If you need standard math functions, we provide the 3rd party library
MathLib in the Other SDKs folder. This shared library has implementations
of most common math functions and is widely used on the Palm OS platform.
This version of MSL implements many of these functions as part of a static
library. Ones that directly correspond to Palm OS API functions are implemented
as inline functions.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
