Datasheet
The C and C++ Libraries
4-98 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
The most important features missing from this release are described in Table 4-21.
stdlib.h abort()
,
abs()
,
atexit()
,
atof()
,
atoi()
,
atol()
,
bsearch()
,
calloc()
,
div()
,
exit()
,
free()
,
getenv()
,
labs()
,
ldiv()
,
malloc()
,
mblen()
,
qsort()
,
rand()
,
realloc()
,
srand()
,
strtod()
,
strtol()
,
strtoul()
,
system()
string.h memchr()
,
memcmp()
,
memcpy()
,
memmove()
,
memset()
,
memset()
,
strcat()
,
strchr()
,
strcmp()
,
strcoll()
,
strcpy()
,
strcspn()
,
strerror()
,
strlen()
,
strncat()
,
strncmp()
,
strncpy()
,
strpbrk()
,
strrchr()
,
strspn()
,
strstr()
,
strtok()
,
strxfrm()
time.h asctime()
,
clock()
,
ctime()
,
difftime()
,
mktime()
,
strftime()
,
time()
Table 4-21 Standard C++ library differences
Standard Implementation differences
Wide character Not a separate type.
wchar_t
is an implicit typedef for
unsigned
short
. Characters are 8-bits wide.
Namespaces Not supported. All top-level items are in the global namespace.
Unimplemented features Support functions for unimplemented language features,
class
bad_cast
for example, are unlikely to be functional.
locale The locale message facet is not supported. It fails to open
catalogs at runtime because the ARM C library does not support
catopen
and
catclose
through
nl_types.h
. One of two locale
definitions can be selected at link time. Other locales can be
created by user-redefinable functions.
Timezone Not supported. The ARM C library does not support it.
Complex default template
arguments
Not supported. Complex default template argument definitions
are where a type parameter has a default instantiation involving
an earlier type parameter. When you request a template that the
standard says is defined with a complex default (such as
instantiating class queue), you must always supply a value for
each template parameter. No defaults are present.
Exceptions Not supported.
typeinfo Limited support. typeinfo is supported in a basic way by the
ARM C++ library additions.
Table 4-20 C++ requirements on the C library (continued)
File Required function in C library