RISC-V Runtime library
Compiled programs
From hand-written assembly
Standard input
Reading the library
Stepping
_Exit
<stdlib.h>- Declaration
void _Exit(int status)- Header
<stdlib.h>- From assembly
- status → a0; returns nothing
call _Exit__assert_fail
<assert.h>- Declaration
void __assert_fail(const char *expr, const char *file, int line, const char *func)- Header
<assert.h>- From assembly
- expr → a0; file → a1; line → a2; func → a3; returns nothing
call __assert_failabort
<stdlib.h>- Declaration
void abort(void)- Header
<stdlib.h>- From assembly
- returns nothing
call abortabs
<stdlib.h>- Declaration
int abs(int n)- Header
<stdlib.h>- From assembly
- n → a0; returns int in a0
call absacos
<math.h>- Declaration
double acos(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call acosaligned_alloc
<stdlib.h>- Declaration
void *aligned_alloc(size_t alignment, size_t size)- Header
<stdlib.h>- From assembly
- alignment → a0; size → a1; returns void * in a0
call aligned_allocasctime
<time.h>- Declaration
char *asctime(const struct tm *tm)- Header
<time.h>- From assembly
- tm → a0; returns char * in a0
call asctimeasin
<math.h>- Declaration
double asin(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call asinatan
<math.h>- Declaration
double atan(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call atanatan2
<math.h>- Declaration
double atan2(double y, double x)- Header
<math.h>- From assembly
- y → fa0; x → fa1; returns double in fa0
call atan2atexit
<stdlib.h>- Declaration
int atexit(void(*func)(void))- Header
<stdlib.h>- From assembly
- void(*func)(void) → a0; returns int in a0
call atexitatof
<stdlib.h>- Declaration
double atof(const char *str)- Header
<stdlib.h>- From assembly
- str → a0; returns double in fa0
call atofatoi
<stdlib.h>- Declaration
int atoi(const char *str)- Header
<stdlib.h>- From assembly
- str → a0; returns int in a0
call atoiatol
<stdlib.h>- Declaration
long atol(const char *str)- Header
<stdlib.h>- From assembly
- str → a0; returns long in a0
call atolatoll
<stdlib.h>- Declaration
long long atoll(const char *str)- Header
<stdlib.h>- From assembly
- str → a0; returns long long in a0
call atollbsearch
<stdlib.h>- Declaration
void *bsearch(const void *key, const void *base, size_t count, size_t size, int(*cmp)(const void *, const void *))- Header
<stdlib.h>- From assembly
- key → a0; base → a1; count → a2; size → a3; int(cmp)(const void , const void ) → a4; returns void in a0
call bsearchcalloc
<stdlib.h>- Declaration
void *calloc(size_t count, size_t size)- Header
<stdlib.h>- From assembly
- count → a0; size → a1; returns void * in a0
call calloccbrt
<math.h>- Declaration
double cbrt(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call cbrtceil
<math.h>- Declaration
double ceil(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call ceilceilf
<math.h>- Declaration
float ceilf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call ceilfclearerr
<stdio.h>- Declaration
void clearerr(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns nothing
call clearerrclock
<time.h>- Declaration
clock_t clock(void)- Header
<time.h>- From assembly
- returns clock_t in a0
call clockcopysign
<math.h>- Declaration
double copysign(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call copysigncos
<math.h>- Declaration
double cos(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call coscosf
<math.h>- Declaration
float cosf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call cosfcosh
<math.h>- Declaration
double cosh(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call coshctime
<time.h>- Declaration
char *ctime(const time_t *t)- Header
<time.h>- From assembly
- t → a0; returns char * in a0
call ctimedifftime
<time.h>- Declaration
double difftime(time_t end, time_t start)- Header
<time.h>- From assembly
- end → a0; start → a1; returns double in fa0
call difftimediv
<stdlib.h>- Declaration
div_t div(int num, int den)- Header
<stdlib.h>- From assembly
- num → a0; den → a1; returns div_t in a0
call divexit
<stdlib.h>- Declaration
void exit(int status)- Header
<stdlib.h>- From assembly
- status → a0; returns nothing
call exitexp
<math.h>- Declaration
double exp(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call expexpf
<math.h>- Declaration
float expf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call expfexpm1
<math.h>- Declaration
double expm1(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call expm1fabs
<math.h>- Declaration
double fabs(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call fabsfabsf
<math.h>- Declaration
float fabsf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call fabsffclose
<stdio.h>- Declaration
int fclose(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call fclosefeof
<stdio.h>- Declaration
int feof(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call feofferror
<stdio.h>- Declaration
int ferror(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call ferrorfflush
<stdio.h>- Declaration
int fflush(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call fflushfgetc
<stdio.h>- Declaration
int fgetc(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call fgetcfgetpos
<stdio.h>- Declaration
int fgetpos(FILE *stream, fpos_t *pos)- Header
<stdio.h>- From assembly
- stream → a0; pos → a1; returns int in a0
call fgetposfgets
<stdio.h>- Declaration
char *fgets(char *str, int n, FILE *stream)- Header
<stdio.h>- From assembly
- str → a0; n → a1; stream → a2; returns char * in a0
call fgetsfloor
<math.h>- Declaration
double floor(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call floorfloorf
<math.h>- Declaration
float floorf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call floorffmax
<math.h>- Declaration
double fmax(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call fmaxfmin
<math.h>- Declaration
double fmin(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call fminfmod
<math.h>- Declaration
double fmod(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call fmodfmodf
<math.h>- Declaration
float fmodf(float x, float y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns float in fa0
call fmodffopen
<stdio.h>- Declaration
FILE *fopen(const char *path, const char *mode)- Header
<stdio.h>- From assembly
- path → a0; mode → a1; returns FILE * in a0
call fopenfprintf
<stdio.h>- Declaration
int fprintf(FILE *stream, const char *format, ...)- Header
<stdio.h>- From assembly
- stream → a0; format → a1; the remaining arguments → a2…a7, then the stack; returns int in a0
call fprintffputc
<stdio.h>- Declaration
int fputc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → a0; stream → a1; returns int in a0
call fputcfputs
<stdio.h>- Declaration
int fputs(const char *str, FILE *stream)- Header
<stdio.h>- From assembly
- str → a0; stream → a1; returns int in a0
call fputsfread
<stdio.h>- Declaration
size_t fread(void *ptr, size_t size, size_t count, FILE *stream)- Header
<stdio.h>- From assembly
- ptr → a0; size → a1; count → a2; stream → a3; returns size_t in a0
call freadfree
<stdlib.h>- Declaration
void free(void *ptr)- Header
<stdlib.h>- From assembly
- ptr → a0; returns nothing
call freefreopen
<stdio.h>- Declaration
FILE *freopen(const char *path, const char *mode, FILE *stream)- Header
<stdio.h>- From assembly
- path → a0; mode → a1; stream → a2; returns FILE * in a0
call freopenfrexp
<math.h>- Declaration
double frexp(double x, int *exp)- Header
<math.h>- From assembly
- x → fa0; exp → a0; returns double in fa0
call frexpfscanf
<stdio.h>- Declaration
int fscanf(FILE *stream, const char *format, ...)- Header
<stdio.h>- From assembly
- stream → a0; format → a1; the remaining arguments → a2…a7, then the stack; returns int in a0
call fscanffseek
<stdio.h>- Declaration
int fseek(FILE *stream, long offset, int whence)- Header
<stdio.h>- From assembly
- stream → a0; offset → a1; whence → a2; returns int in a0
call fseekfsetpos
<stdio.h>- Declaration
int fsetpos(FILE *stream, const fpos_t *pos)- Header
<stdio.h>- From assembly
- stream → a0; pos → a1; returns int in a0
call fsetposftell
<stdio.h>- Declaration
long ftell(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns long in a0
call ftellfwrite
<stdio.h>- Declaration
size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream)- Header
<stdio.h>- From assembly
- ptr → a0; size → a1; count → a2; stream → a3; returns size_t in a0
call fwritegetc
<stdio.h>- Declaration
int getc(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns int in a0
call getcgetchar
<stdio.h>- Declaration
int getchar(void)- Header
<stdio.h>- From assembly
- returns int in a0
call getchargetenv
<stdlib.h>- Declaration
char *getenv(const char *name)- Header
<stdlib.h>- From assembly
- name → a0; returns char * in a0
call getenvgmtime
<time.h>- Declaration
struct tm *gmtime(const time_t *t)- Header
<time.h>- From assembly
- t → a0; returns struct tm * in a0
call gmtimehypot
<math.h>- Declaration
double hypot(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call hypotimaxabs
<inttypes.h>- Declaration
intmax_t imaxabs(intmax_t n)- Header
<inttypes.h>- From assembly
- n → a0; returns intmax_t in a0
call imaxabsimaxdiv
<inttypes.h>- Declaration
imaxdiv_t imaxdiv(intmax_t num, intmax_t den)- Header
<inttypes.h>- From assembly
- num → a0; den → a1; returns imaxdiv_t in a0
call imaxdivisalnum
<ctype.h>- Declaration
int isalnum(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isalnumisalpha
<ctype.h>- Declaration
int isalpha(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isalphaisblank
<ctype.h>- Declaration
int isblank(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isblankiscntrl
<ctype.h>- Declaration
int iscntrl(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call iscntrlisdigit
<ctype.h>- Declaration
int isdigit(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isdigitisgraph
<ctype.h>- Declaration
int isgraph(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isgraphislower
<ctype.h>- Declaration
int islower(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call islowerisprint
<ctype.h>- Declaration
int isprint(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isprintispunct
<ctype.h>- Declaration
int ispunct(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call ispunctisspace
<ctype.h>- Declaration
int isspace(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isspaceisupper
<ctype.h>- Declaration
int isupper(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isupperisxdigit
<ctype.h>- Declaration
int isxdigit(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call isxdigitlabs
<stdlib.h>- Declaration
long labs(long n)- Header
<stdlib.h>- From assembly
- n → a0; returns long in a0
call labsldexp
<math.h>- Declaration
double ldexp(double x, int exp)- Header
<math.h>- From assembly
- x → fa0; exp → a0; returns double in fa0
call ldexpldiv
<stdlib.h>- Declaration
ldiv_t ldiv(long num, long den)- Header
<stdlib.h>- From assembly
- num → a0; den → a1; returns ldiv_t in a0
call ldivllabs
<stdlib.h>- Declaration
long long llabs(long long n)- Header
<stdlib.h>- From assembly
- n → a0; returns long long in a0
call llabslldiv
<stdlib.h>- Declaration
lldiv_t lldiv(long long num, long long den)- Header
<stdlib.h>- From assembly
- num → a0; den → a1; returns lldiv_t in a0
call lldivlocaltime
<time.h>- Declaration
struct tm *localtime(const time_t *t)- Header
<time.h>- From assembly
- t → a0; returns struct tm * in a0
call localtimelog
<math.h>- Declaration
double log(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call loglog10
<math.h>- Declaration
double log10(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call log10log2
<math.h>- Declaration
double log2(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call log2logf
<math.h>- Declaration
float logf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call logfmalloc
<stdlib.h>- Declaration
void *malloc(size_t size)- Header
<stdlib.h>- From assembly
- size → a0; returns void * in a0
call mallocmemchr
<string.h>- Declaration
void *memchr(const void *s, int c, size_t n)- Header
<string.h>- From assembly
- s → a0; c → a1; n → a2; returns void * in a0
call memchrmemcmp
<string.h>- Declaration
int memcmp(const void *a, const void *b, size_t n)- Header
<string.h>- From assembly
- a → a0; b → a1; n → a2; returns int in a0
call memcmpmemcpy
<string.h>- Declaration
void *memcpy(void *dest, const void *src, size_t n)- Header
<string.h>- From assembly
- dest → a0; src → a1; n → a2; returns void * in a0
call memcpymemmove
<string.h>- Declaration
void *memmove(void *dest, const void *src, size_t n)- Header
<string.h>- From assembly
- dest → a0; src → a1; n → a2; returns void * in a0
call memmovememset
<string.h>- Declaration
void *memset(void *dest, int c, size_t n)- Header
<string.h>- From assembly
- dest → a0; c → a1; n → a2; returns void * in a0
call memsetmktime
<time.h>- Declaration
time_t mktime(struct tm *tm)- Header
<time.h>- From assembly
- tm → a0; returns time_t in a0
call mktimemodf
<math.h>- Declaration
double modf(double x, double *ip)- Header
<math.h>- From assembly
- x → fa0; ip → a0; returns double in fa0
call modfperror
<stdio.h>- Declaration
void perror(const char *msg)- Header
<stdio.h>- From assembly
- msg → a0; returns nothing
call perrorpow
<math.h>- Declaration
double pow(double x, double y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns double in fa0
call powpowf
<math.h>- Declaration
float powf(float x, float y)- Header
<math.h>- From assembly
- x → fa0; y → fa1; returns float in fa0
call powfprintf
<stdio.h>- Declaration
int printf(const char *format, ...)- Header
<stdio.h>- From assembly
- format → a0; the remaining arguments → a1…a7, then the stack; returns int in a0
call printfputc
<stdio.h>- Declaration
int putc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → a0; stream → a1; returns int in a0
call putcputchar
<stdio.h>- Declaration
int putchar(int c)- Header
<stdio.h>- From assembly
- c → a0; returns int in a0
call putcharputs
<stdio.h>- Declaration
int puts(const char *str)- Header
<stdio.h>- From assembly
- str → a0; returns int in a0
call putsqsort
<stdlib.h>- Declaration
void qsort(void *base, size_t count, size_t size, int(*cmp)(const void *, const void *))- Header
<stdlib.h>- From assembly
- base → a0; count → a1; size → a2; int(cmp)(const void , const void *) → a3; returns nothing
call qsortrand
<stdlib.h>- Declaration
int rand(void)- Header
<stdlib.h>- From assembly
- returns int in a0
call randrealloc
<stdlib.h>- Declaration
void *realloc(void *ptr, size_t size)- Header
<stdlib.h>- From assembly
- ptr → a0; size → a1; returns void * in a0
call reallocrewind
<stdio.h>- Declaration
void rewind(FILE *stream)- Header
<stdio.h>- From assembly
- stream → a0; returns nothing
call rewindround
<math.h>- Declaration
double round(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call roundroundf
<math.h>- Declaration
float roundf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call roundfscalbn
<math.h>- Declaration
double scalbn(double x, int n)- Header
<math.h>- From assembly
- x → fa0; n → a0; returns double in fa0
call scalbnscanf
<stdio.h>- Declaration
int scanf(const char *format, ...)- Header
<stdio.h>- From assembly
- format → a0; the remaining arguments → a1…a7, then the stack; returns int in a0
call scanfsetbuf
<stdio.h>- Declaration
void setbuf(FILE *stream, char *buf)- Header
<stdio.h>- From assembly
- stream → a0; buf → a1; returns nothing
call setbufsetvbuf
<stdio.h>- Declaration
int setvbuf(FILE *stream, char *buf, int mode, size_t size)- Header
<stdio.h>- From assembly
- stream → a0; buf → a1; mode → a2; size → a3; returns int in a0
call setvbufsin
<math.h>- Declaration
double sin(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call sinsincos
<math.h>- Declaration
void sincos(double x, double *s, double *c)- Header
<math.h>- From assembly
- x → fa0; s → a0; c → a1; returns nothing
call sincossincosf
<math.h>- Declaration
void sincosf(float x, float *s, float *c)- Header
<math.h>- From assembly
- x → fa0; s → a0; c → a1; returns nothing
call sincosfsinf
<math.h>- Declaration
float sinf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call sinfsinh
<math.h>- Declaration
double sinh(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call sinhsnprintf
<stdio.h>- Declaration
int snprintf(char *str, size_t n, const char *format, ...)- Header
<stdio.h>- From assembly
- str → a0; n → a1; format → a2; the remaining arguments → a3…a7, then the stack; returns int in a0
call snprintfsprintf
<stdio.h>- Declaration
int sprintf(char *str, const char *format, ...)- Header
<stdio.h>- From assembly
- str → a0; format → a1; the remaining arguments → a2…a7, then the stack; returns int in a0
call sprintfsqrt
<math.h>- Declaration
double sqrt(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call sqrtsqrtf
<math.h>- Declaration
float sqrtf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call sqrtfsrand
<stdlib.h>- Declaration
void srand(unsigned int seed)- Header
<stdlib.h>- From assembly
- seed → a0; returns nothing
call srandsscanf
<stdio.h>- Declaration
int sscanf(const char *str, const char *format, ...)- Header
<stdio.h>- From assembly
- str → a0; format → a1; the remaining arguments → a2…a7, then the stack; returns int in a0
call sscanfstrcat
<string.h>- Declaration
char *strcat(char *dest, const char *src)- Header
<string.h>- From assembly
- dest → a0; src → a1; returns char * in a0
call strcatstrchr
<string.h>- Declaration
char *strchr(const char *s, int c)- Header
<string.h>- From assembly
- s → a0; c → a1; returns char * in a0
call strchrstrcmp
<string.h>- Declaration
int strcmp(const char *a, const char *b)- Header
<string.h>- From assembly
- a → a0; b → a1; returns int in a0
call strcmpstrcoll
<string.h>- Declaration
int strcoll(const char *a, const char *b)- Header
<string.h>- From assembly
- a → a0; b → a1; returns int in a0
call strcollstrcpy
<string.h>- Declaration
char *strcpy(char *dest, const char *src)- Header
<string.h>- From assembly
- dest → a0; src → a1; returns char * in a0
call strcpystrcspn
<string.h>- Declaration
size_t strcspn(const char *s, const char *reject)- Header
<string.h>- From assembly
- s → a0; reject → a1; returns size_t in a0
call strcspnstrdup
<string.h>- Declaration
char *strdup(const char *s)- Header
<string.h>- From assembly
- s → a0; returns char * in a0
call strdupstrerror
<string.h>- Declaration
char *strerror(int errnum)- Header
<string.h>- From assembly
- errnum → a0; returns char * in a0
call strerrorstrlen
<string.h>- Declaration
size_t strlen(const char *s)- Header
<string.h>- From assembly
- s → a0; returns size_t in a0
call strlenstrncat
<string.h>- Declaration
char *strncat(char *dest, const char *src, size_t n)- Header
<string.h>- From assembly
- dest → a0; src → a1; n → a2; returns char * in a0
call strncatstrncmp
<string.h>- Declaration
int strncmp(const char *a, const char *b, size_t n)- Header
<string.h>- From assembly
- a → a0; b → a1; n → a2; returns int in a0
call strncmpstrncpy
<string.h>- Declaration
char *strncpy(char *dest, const char *src, size_t n)- Header
<string.h>- From assembly
- dest → a0; src → a1; n → a2; returns char * in a0
call strncpystrndup
<string.h>- Declaration
char *strndup(const char *s, size_t n)- Header
<string.h>- From assembly
- s → a0; n → a1; returns char * in a0
call strndupstrnlen
<string.h>- Declaration
size_t strnlen(const char *s, size_t n)- Header
<string.h>- From assembly
- s → a0; n → a1; returns size_t in a0
call strnlenstrpbrk
<string.h>- Declaration
char *strpbrk(const char *s, const char *accept)- Header
<string.h>- From assembly
- s → a0; accept → a1; returns char * in a0
call strpbrkstrrchr
<string.h>- Declaration
char *strrchr(const char *s, int c)- Header
<string.h>- From assembly
- s → a0; c → a1; returns char * in a0
call strrchrstrspn
<string.h>- Declaration
size_t strspn(const char *s, const char *accept)- Header
<string.h>- From assembly
- s → a0; accept → a1; returns size_t in a0
call strspnstrstr
<string.h>- Declaration
char *strstr(const char *haystack, const char *needle)- Header
<string.h>- From assembly
- haystack → a0; needle → a1; returns char * in a0
call strstrstrtod
<stdlib.h>- Declaration
double strtod(const char *str, char * *end)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; returns double in fa0
call strtodstrtof
<stdlib.h>- Declaration
float strtof(const char *str, char * *end)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; returns float in fa0
call strtofstrtoimax
<inttypes.h>- Declaration
intmax_t strtoimax(const char *str, char * *end, int base)- Header
<inttypes.h>- From assembly
- str → a0; end → a1; base → a2; returns intmax_t in a0
call strtoimaxstrtok
<string.h>- Declaration
char *strtok(char *str, const char *delim)- Header
<string.h>- From assembly
- str → a0; delim → a1; returns char * in a0
call strtokstrtol
<stdlib.h>- Declaration
long strtol(const char *str, char * *end, int base)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; base → a2; returns long in a0
call strtolstrtoll
<stdlib.h>- Declaration
long long strtoll(const char *str, char * *end, int base)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; base → a2; returns long long in a0
call strtollstrtoul
<stdlib.h>- Declaration
unsigned long strtoul(const char *str, char * *end, int base)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; base → a2; returns unsigned long in a0
call strtoulstrtoull
<stdlib.h>- Declaration
unsigned long long strtoull(const char *str, char * *end, int base)- Header
<stdlib.h>- From assembly
- str → a0; end → a1; base → a2; returns unsigned long long in a0
call strtoullstrtoumax
<inttypes.h>- Declaration
uintmax_t strtoumax(const char *str, char * *end, int base)- Header
<inttypes.h>- From assembly
- str → a0; end → a1; base → a2; returns uintmax_t in a0
call strtoumaxstrxfrm
<string.h>- Declaration
size_t strxfrm(char *dest, const char *src, size_t n)- Header
<string.h>- From assembly
- dest → a0; src → a1; n → a2; returns size_t in a0
call strxfrmtan
<math.h>- Declaration
double tan(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call tantanf
<math.h>- Declaration
float tanf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call tanftanh
<math.h>- Declaration
double tanh(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call tanhtime
<time.h>- Declaration
time_t time(time_t *t)- Header
<time.h>- From assembly
- t → a0; returns time_t in a0
call timetolower
<ctype.h>- Declaration
int tolower(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call tolowertoupper
<ctype.h>- Declaration
int toupper(int c)- Header
<ctype.h>- From assembly
- c → a0; returns int in a0
call touppertrunc
<math.h>- Declaration
double trunc(double x)- Header
<math.h>- From assembly
- x → fa0; returns double in fa0
call trunctruncf
<math.h>- Declaration
float truncf(float x)- Header
<math.h>- From assembly
- x → fa0; returns float in fa0
call truncfungetc
<stdio.h>- Declaration
int ungetc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → a0; stream → a1; returns int in a0
call ungetcvfprintf
<stdio.h>- Declaration
int vfprintf(FILE *stream, const char *format, va_list ap)- Header
<stdio.h>- From assembly
- stream → a0; format → a1; ap → a2; returns int in a0
call vfprintfvfscanf
<stdio.h>- Declaration
int vfscanf(FILE *stream, const char *format, va_list ap)- Header
<stdio.h>- From assembly
- stream → a0; format → a1; ap → a2; returns int in a0
call vfscanfvprintf
<stdio.h>- Declaration
int vprintf(const char *format, va_list ap)- Header
<stdio.h>- From assembly
- format → a0; ap → a1; returns int in a0
call vprintfvscanf
<stdio.h>- Declaration
int vscanf(const char *format, va_list ap)- Header
<stdio.h>- From assembly
- format → a0; ap → a1; returns int in a0
call vscanfvsnprintf
<stdio.h>- Declaration
int vsnprintf(char *str, size_t n, const char *format, va_list ap)- Header
<stdio.h>- From assembly
- str → a0; n → a1; format → a2; ap → a3; returns int in a0
call vsnprintfvsprintf
<stdio.h>- Declaration
int vsprintf(char *str, const char *format, va_list ap)- Header
<stdio.h>- From assembly
- str → a0; format → a1; ap → a2; returns int in a0
call vsprintfvsscanf
<stdio.h>- Declaration
int vsscanf(const char *str, const char *format, va_list ap)- Header
<stdio.h>- From assembly
- str → a0; format → a1; ap → a2; returns int in a0
call vsscanf