7.6.1 Standard library

The interrupt disabled time and re-entrant of each function in the standard library are shown in the following.

The interrupt disabled time is displayed, starting from the left, for the case of not using division/multiplication and multiply-accumulate units, the case of using division/multiplication and multiply-accumulate units, the case of using division/multiplication extended instructions (single precision), and the case of using division/multiplication extended instructions (double precision). A single numerical value is common for all libraries.

Function Name

Interrupt Disabled Time

Re-entrant

Remark

(non-reentrant source)

assert

0

O

 

isalnum

0

O

 

isalpha

0

O

 

isascii

0

O

 

iscntrl

0

O

 

isdigit

0

O

 

isgraph

0

O

 

islower

0

O

 

isprint

0

O

 

ispunct

0

O

 

isspace

0

O

 

isupper

0

O

 

isxdigit

0

O

 

toascii

0

O

 

tolower

0

O

 

toupper

0

O

 

acos

0/43/0/0

X

errno

acosf

0/43/0/0

X

errno

asin

0/43/0/0

X

errno

asinf

0/43/0/0

X

errno

atan

0/43/0/0

X

errno

atanf

0/43/0/0

X

errno

atan2

0/43/0/0

X

errno

atan2f

0/43/0/0

X

errno

cos

0/14/0/0

X

errno

cosf

0/14/0/0

X

errno

sin

0/14/0/0

X

errno

sinf

0/14/0/0

X

errno

tan

0/43/0/0

X

errno

tanf

0/43/0/0

X

errno

cosh

0/43/0/0

X

errno

coshf

0/43/0/0

X

errno

sinh

0/43/0/0

X

errno

sinhf

0/43/0/0

X

errno

tanh

0/43/0/0

X

errno

tanhf

0/43/0/0

X

errno

exp

0/43/0/0

X

errno

expf

0/43/0/0

X

errno

frexp

0

X

errno

frexpf

0

X

errno

ldexp

0

X

errno

ldexpf

0

X

errno

log

0/14/0/0

X

errno

logf

0/14/0/0

X

errno

log10

0/14/0/0

X

errno

log10f

0/14/0/0

X

errno

modf

0

X

errno

modff

0

X

errno

pow

0/43/0/0

X

errno

powf

0/43/0/0

X

errno

sqrt

0/43/0/0

X

errno

sqrtf

0/43/0/0

X

errno

ceil

0

O

 

ceilf

0

O

 

fabs

0

O

 

fabsf

0

O

 

floor

0

O

 

floorf

0

O

 

fmod

0/14/0/0

X

errno

fmodf

0/14/0/0

X

errno

setjmp

0

When the pointer reference destination is updated

longjmp

0

X

SP

va_start

0

O

 

va_arg

0

O

 

va_end

0

O

 

printf

0/43/0/0

X

stdout, Internal management data

scanf

0/43/0/0

X

stdin

sprintf

0/43/0/0

X

Internal management data

sscanf

0/43/0/0

When the pointer reference destination is updated

vprintf

0/43/0/0

X

stdout,Internal management data

vsprintf

0/43/0/0

X

Internal management data

getchar

0

X

stdin

gets

0

X

stdin

_COM_gets_f

0

X

stdin

putchar

0

X

stdout

puts

0

X

stdout

_COM_puts_f

0

X

stdout

perror

0

X

errno

_COM_perror_f

0

X

errno

atof

0/43/0/0

X

errno

_COM_atof_f

0/43/0/0

X

errno

atoff

0/43/0/0

X

errno

_COM_atoff_f

0/43/0/0

X

errno

atoi

0/40/0/0

X

errno

_COM_atoi_f

0/40/0/0

X

errno

atol

0/40/0/0

X

errno

_COM_atol_f

0/40/0/0

X

errno

strtod

0/43/0/0

X

errno

_COM_strtod_ff

0/43/0/0

X

errno

strtof

0/43/0/0

X

errno

_COM_strtof_ff

0/43/0/0

X

errno

strtol

0/40/0/0

X

errno

_COM_strtol_ff

0/40/0/0

X

errno

strtoul

0/40/0/0

X

errno

_COM_strtoul_ff

0/40/0/0

X

errno

rand

0/24/0/0

X

seed

srand

0

X

seed

calloc [V1.02 or later]

0

X

Internal management data

free [V1.02 or later]

0

X

Internal management data

malloc [V1.02 or later]

0

X

Internal management data

realloc [V1.02 or later]

0

X

Internal management data

abort

0

-

Processing is not returned

bsearch

0

When the pointer reference destination is updated

_COM_bsearch_f

0

When the pointer reference destination is updated

qsort

0/40/0/0

When the pointer reference destination is updated

_COM_qsort_f

0/40/0/0

When the pointer reference destination is updated

abs

0

O

 

div

0/39/0/0

O

 

labs

0

O

 

ldiv

0/45/0/0

O

 

memcpy

0

When the pointer reference destination is updated

_COM_memcpy_f

0

When the pointer reference destination is updated

memmove

0

When the pointer reference destination is updated

_COM_memmove_ff

0

When the pointer reference destination is updated

strcpy

0

When the pointer reference destination is updated

_COM_strcpy_ff

0

When the pointer reference destination is updated

strncpy

0

When the pointer reference destination is updated

_COM_strncpy_ff

0

When the pointer reference destination is updated

strcat

0

When the pointer reference destination is updated

_COM_strcat_ff

0

When the pointer reference destination is updated

strncat

0

When the pointer reference destination is updated

_COM_strncat_ff

0

When the pointer reference destination is updated

memcmp

0

When the pointer reference destination is updated

_COM_memcmp_ff

0

When the pointer reference destination is updated

strcmp

0

When the pointer reference destination is updated

_COM_strcmp_ff

0

When the pointer reference destination is updated

strncmp

0

When the pointer reference destination is updated

_COM_strncmp_ff

0

When the pointer reference destination is updated

memchr

0

When the pointer reference destination is updated

_COM_memchr_f

0

When the pointer reference destination is updated

strchr

0

When the pointer reference destination is updated

_COM_strchr_f

0

When the pointer reference destination is updated

strcspn

0

When the pointer reference destination is updated

_COM_strcspn_ff

0

When the pointer reference destination is updated

strpbrk

0

When the pointer reference destination is updated

_COM_strpbrk_ff

0

When the pointer reference destination is updated

strrchr

0

When the pointer reference destination is updated

_COM_strrchr_f

0

When the pointer reference destination is updated

strspn

0

When the pointer reference destination is updated

_COM_strspn_ff

0

When the pointer reference destination is updated

strstr

0

When the pointer reference destination is updated

_COM_strstr_ff

0

When the pointer reference destination is updated

strtok

0

X

Internal management data

memset

0

When the pointer reference destination is updated

_COM_memset_f

0

When the pointer reference destination is updated

strerror

0

O

 

strlen

0

When the pointer reference destination is updated

_COM_strlen_f

0

When the pointer reference destination is updated

hdwinit

0

X

Initializing process

stkinit

0

X

Initializing process