s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 347

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
Utility functions
Header file: stdlib.h
Non-local branch functions
Header file: setjmp.h
S5U1C17001C MANUAL
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
void *malloc(size_t size);
void *calloc(size_t elt_count, size_t
elt_size);
void free(void *ptr);
void *realloc(void *ptr, size_t size);
int system(char *command);
void exit(int status);
void abort( );
int atexit(void (*func)(void));
char *getenv(char *str);
void *bsearch(void *key, void *base,
size_t count, size_t size, int (*compare)
(void *, void *));
void qsort(void *base, size_t count,
size_t size, int (*compare)(void *, void
*));
int abs(int x);
long int labs(long int x);
div_t div(int n, int d);
ldiv_t ldiv(int n, int d);
int rand( );
void srand(unsigned int seed);
long int atol(char *str);
int atoi(char *str);
double atof(char *str);
double strtod(char *str, char **ptr);
long int strtol(char *str, char **ptr,
int base);
unsigned long int strtoul(char *str, char
**ptr, int base);
int setjmp(jmp_buf env);
void longjmp(jmp_buf env, int status);
The table below lists the utility functions included in libc.a.
The table below lists the non-local branch functions included in libc.a.
Function
Function
Table 7.3.2.3 Non-local branch functions
Table 7.3.2.2 Utility functions
Allocate area.
Allocate array area.
Clear area.
Change area size.
Dummy
Terminate program
normally.
Terminate program
abnormally.
Dummy
Dummy
Binary search.
Quick sort.
Return absolute value
(int type).
Return absolute value
(long type).
Divide int type.
Divide long type.
Return pseudo-random
number.
Set seed of pseudo-
random number.
Convert character
string into long type.
Convert character
string into int type.
Convert character string
into double type.
Convert character string
into double type.
Convert character
string into long type.
Convert character
string into unsigned
long type.
Non-local branch
Non-local branch
Functionality
Functionality
EPSON
Nonreentrant Change global variables errno,
Nonreentrant Invalid for call from memory allocate.
Nonreentrant Invalid for call from memory allocate.
Nonreentrant Invalid for call from memory allocate.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Nonreentrant Change global variable errno.
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Reentrant
Dummy
Dummy
Dummy
ansi_ucStartAlloc,
ansi_ucEndAlloc,
ansi_ucNxtAlcP,
ansi_ucTblPtr, and ansi_ulRow.
Refer to exit, terminates on the side
of called later.
Refer to exit, terminates on the side
of called later.
Notes
Notes
7 LIBRARY
7-9

Related parts for s5u1c17001c