Epson S5U1C17001C Manual page 723

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

ANSI Library libc.a (1)
Input/Output Functions
(header file: stdio.h)
fread( )
size_t fread(void *ptr, size_t size, size_t count, FILE *stream);
size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream); ∗1, ∗2
fwrite( )
fgetc( )
int fgetc(FILE *stream);
getc( )
int getc(FILE *stream);
getchar( )
int getchar(void);
ungetc( )
int ungetc(int c, FILE *stream);
fgets( )
char *fgets(char *s, int n, FILE *stream);
gets( )
char *gets(char *s);
fputc( )
int fputc(int c, FILE *stream);
putc( )
int putc(int c, FILE *stream);
putchar( )
int putchar(int c);
fputs( )
int fputs(char *s, FILE *stream);
puts( )
int puts(char *s);
perror( )
void perror(const char *s);
fscanf( )
int fscanf(FILE *stream, const char *format, ...);
scanf( )
int scanf(const char *format, ...);
sscanf( )
int sscanf(const char *s, const char *format, ...);
fprintf( )
int fprintf(FILE *stream, const char *format, ...);
printf( )
int printf(const char *format, ...);
sprintf( )
int sprintf(char *s, const char *format, ...);
vfprintf( )
int vfprintf(FILE *stream, const char *format, va_list arg);
vprintf( )
int vprintf(const char *format, va_list arg);
vsprintf( )
int vsprintf(char *s, const char *format, va_list arg);
Utility Functions
(header file: stdlib.h)
∗1, ∗2
malloc( )
void *malloc(size_t size);
calloc( )
void *calloc(size_t elt_count, size_t elt_size);
∗2
free( )
void free(void *ptr);
∗1, ∗2
realloc( )
void *realloc(void *ptr, size_t size);
∗1, ∗2
exit( )
void exit(int status);
∗1
abort( )
void abort(void);
∗1, ∗2
bsearch( )
void *bsearch(const void *key, const void *base, size_t count,size_t size, int
∗1, ∗2
(*compare)(const void *, const void *));
∗2
qsort( )
void qsort(void *base, size_t count, size_t size,int (*compare)
∗1, ∗2
const void *, const void *));
∗1, ∗2
abs( )
int abs(int x);
∗1, ∗2
labs( )
long labs(long x);
∗1, ∗2
div( )
div_t div(int n, int d);
∗1, ∗2
ldiv( )
ldiv_t ldiv(long n, long d);
∗1, ∗2
rand( )
int rand(void);
∗1, ∗2
srand( )
void srand(unsigned int seed);
∗1, ∗2
atol( )
long atol(const char *str);
∗1, ∗2
atoi( )
int atoi(const char *str);
∗1, ∗2
atof( )
double atof(const char *str);
∗1, ∗2
strtod( )
double strtod(const char *str, char **ptr);
∗1, ∗2
strtol( )
long strtol(const char *str, char **ptr, int base);
∗1, ∗2
strtoul( )
unsigned long strtoul(const char *str, char **ptr, int base);
Date and Time Functions
gmtime( )
struct tm *gmtime(time_t *t);
mktime( )
time_t mktime(struct tm *tmptr);
time( )
time_t time(time_t *tptr);
Non-local Branch Functions
setjmp( )
int setjmp(jmp_buf *ptr);
longjmp( )
void longjmp(jmp_buf *ptr, int status);
∗1 These functions need to declare and initialize the global variables.
∗2 These functions need to define the low-level functions and I/O buffers.
(header file: time.h)
(header file: setjmp.h)
Library
∗1
∗1
∗1
∗1
Reference
∗1
∗1
∗1
∗1
∗1
∗1
∗1
∗1

Advertisement

Table of Contents
loading

Table of Contents