MIPS 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
jal _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
jal __assert_failabort
<stdlib.h>- Declaration
void abort(void)- Header
<stdlib.h>- From assembly
- returns nothing
jal abortabs
<stdlib.h>- Declaration
int abs(int n)- Header
<stdlib.h>- From assembly
- n → $a0; returns int in $v0
jal absacos
<math.h>- Declaration
double acos(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal 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 $v0
jal aligned_allocasctime
<time.h>- Declaration
char *asctime(const struct tm *tm)- Header
<time.h>- From assembly
- tm → $a0; returns char * in $v0
jal asctimeasin
<math.h>- Declaration
double asin(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal asinatan
<math.h>- Declaration
double atan(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal atanatan2
<math.h>- Declaration
double atan2(double y, double x)- Header
<math.h>- From assembly
- y → $f12; x → $f14; returns double in $f0
jal atan2atexit
<stdlib.h>- Declaration
int atexit(void(*func)(void))- Header
<stdlib.h>- From assembly
- void(*func)(void) → $a0; returns int in $v0
jal atexitatof
<stdlib.h>- Declaration
double atof(const char *str)- Header
<stdlib.h>- From assembly
- str → $a0; returns double in $f0
jal atofatoi
<stdlib.h>- Declaration
int atoi(const char *str)- Header
<stdlib.h>- From assembly
- str → $a0; returns int in $v0
jal atoiatol
<stdlib.h>- Declaration
long atol(const char *str)- Header
<stdlib.h>- From assembly
- str → $a0; returns long in $v0
jal atolatoll
<stdlib.h>- Declaration
long long atoll(const char *str)- Header
<stdlib.h>- From assembly
- str → $a0; returns long long in $v0:$v1
jal 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 ) → stack; returns void in $v0
jal bsearchcalloc
<stdlib.h>- Declaration
void *calloc(size_t count, size_t size)- Header
<stdlib.h>- From assembly
- count → $a0; size → $a1; returns void * in $v0
jal calloccbrt
<math.h>- Declaration
double cbrt(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal cbrtceil
<math.h>- Declaration
double ceil(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal ceilceilf
<math.h>- Declaration
float ceilf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal ceilfclearerr
<stdio.h>- Declaration
void clearerr(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns nothing
jal clearerrclock
<time.h>- Declaration
clock_t clock(void)- Header
<time.h>- From assembly
- returns clock_t in $v0
jal clockcopysign
<math.h>- Declaration
double copysign(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal copysigncos
<math.h>- Declaration
double cos(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal coscosf
<math.h>- Declaration
float cosf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal cosfcosh
<math.h>- Declaration
double cosh(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal coshctime
<time.h>- Declaration
char *ctime(const time_t *t)- Header
<time.h>- From assembly
- t → $a0; returns char * in $v0
jal ctimedifftime
<time.h>- Declaration
double difftime(time_t end, time_t start)- Header
<time.h>- From assembly
- end → $a0; start → $a1; returns double in $f0
jal difftimediv
<stdlib.h>- Declaration
div_t div(int num, int den)- Header
<stdlib.h>- From assembly
- num → $a0; den → $a1; returns div_t in $v0
jal divexit
<stdlib.h>- Declaration
void exit(int status)- Header
<stdlib.h>- From assembly
- status → $a0; returns nothing
jal exitexp
<math.h>- Declaration
double exp(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal expexpf
<math.h>- Declaration
float expf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal expfexpm1
<math.h>- Declaration
double expm1(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal expm1fabs
<math.h>- Declaration
double fabs(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal fabsfabsf
<math.h>- Declaration
float fabsf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal fabsffclose
<stdio.h>- Declaration
int fclose(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal fclosefeof
<stdio.h>- Declaration
int feof(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal feofferror
<stdio.h>- Declaration
int ferror(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal ferrorfflush
<stdio.h>- Declaration
int fflush(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal fflushfgetc
<stdio.h>- Declaration
int fgetc(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal fgetcfgetpos
<stdio.h>- Declaration
int fgetpos(FILE *stream, fpos_t *pos)- Header
<stdio.h>- From assembly
- stream → $a0; pos → $a1; returns int in $v0
jal 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 $v0
jal fgetsfloor
<math.h>- Declaration
double floor(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal floorfloorf
<math.h>- Declaration
float floorf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal floorffmax
<math.h>- Declaration
double fmax(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal fmaxfmin
<math.h>- Declaration
double fmin(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal fminfmod
<math.h>- Declaration
double fmod(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal fmodfmodf
<math.h>- Declaration
float fmodf(float x, float y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns float in $f0
jal fmodffopen
<stdio.h>- Declaration
FILE *fopen(const char *path, const char *mode)- Header
<stdio.h>- From assembly
- path → $a0; mode → $a1; returns FILE * in $v0
jal fopenfprintf
<stdio.h>- Declaration
int fprintf(FILE *stream, const char *format, ...)- Header
<stdio.h>- From assembly
- stream → $a0; format → $a1; the remaining arguments → $a2…$a3, then the stack; returns int in $v0
jal fprintffputc
<stdio.h>- Declaration
int fputc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → $a0; stream → $a1; returns int in $v0
jal fputcfputs
<stdio.h>- Declaration
int fputs(const char *str, FILE *stream)- Header
<stdio.h>- From assembly
- str → $a0; stream → $a1; returns int in $v0
jal 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 $v0
jal freadfree
<stdlib.h>- Declaration
void free(void *ptr)- Header
<stdlib.h>- From assembly
- ptr → $a0; returns nothing
jal 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 $v0
jal freopenfrexp
<math.h>- Declaration
double frexp(double x, int *exp)- Header
<math.h>- From assembly
- x → $f12; exp → $a2; returns double in $f0
jal frexpfscanf
<stdio.h>- Declaration
int fscanf(FILE *stream, const char *format, ...)- Header
<stdio.h>- From assembly
- stream → $a0; format → $a1; the remaining arguments → $a2…$a3, then the stack; returns int in $v0
jal 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 $v0
jal fseekfsetpos
<stdio.h>- Declaration
int fsetpos(FILE *stream, const fpos_t *pos)- Header
<stdio.h>- From assembly
- stream → $a0; pos → $a1; returns int in $v0
jal fsetposftell
<stdio.h>- Declaration
long ftell(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns long in $v0
jal 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 $v0
jal fwritegetc
<stdio.h>- Declaration
int getc(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns int in $v0
jal getcgetchar
<stdio.h>- Declaration
int getchar(void)- Header
<stdio.h>- From assembly
- returns int in $v0
jal getchargetenv
<stdlib.h>- Declaration
char *getenv(const char *name)- Header
<stdlib.h>- From assembly
- name → $a0; returns char * in $v0
jal getenvgmtime
<time.h>- Declaration
struct tm *gmtime(const time_t *t)- Header
<time.h>- From assembly
- t → $a0; returns struct tm * in $v0
jal gmtimehypot
<math.h>- Declaration
double hypot(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal hypotimaxabs
<inttypes.h>- Declaration
intmax_t imaxabs(intmax_t n)- Header
<inttypes.h>- From assembly
- n → $a0:$a1; returns intmax_t in $v0:$v1
jal imaxabsimaxdiv
<inttypes.h>- Declaration
imaxdiv_t imaxdiv(intmax_t num, intmax_t den)- Header
<inttypes.h>- From assembly
- num → $a0:$a1; den → $a2:$a3; returns imaxdiv_t in $v0
jal imaxdivisalnum
<ctype.h>- Declaration
int isalnum(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isalnumisalpha
<ctype.h>- Declaration
int isalpha(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isalphaisblank
<ctype.h>- Declaration
int isblank(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isblankiscntrl
<ctype.h>- Declaration
int iscntrl(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal iscntrlisdigit
<ctype.h>- Declaration
int isdigit(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isdigitisgraph
<ctype.h>- Declaration
int isgraph(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isgraphislower
<ctype.h>- Declaration
int islower(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal islowerisprint
<ctype.h>- Declaration
int isprint(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isprintispunct
<ctype.h>- Declaration
int ispunct(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal ispunctisspace
<ctype.h>- Declaration
int isspace(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isspaceisupper
<ctype.h>- Declaration
int isupper(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isupperisxdigit
<ctype.h>- Declaration
int isxdigit(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal isxdigitlabs
<stdlib.h>- Declaration
long labs(long n)- Header
<stdlib.h>- From assembly
- n → $a0; returns long in $v0
jal labsldexp
<math.h>- Declaration
double ldexp(double x, int exp)- Header
<math.h>- From assembly
- x → $f12; exp → $a2; returns double in $f0
jal ldexpldiv
<stdlib.h>- Declaration
ldiv_t ldiv(long num, long den)- Header
<stdlib.h>- From assembly
- num → $a0; den → $a1; returns ldiv_t in $v0
jal ldivllabs
<stdlib.h>- Declaration
long long llabs(long long n)- Header
<stdlib.h>- From assembly
- n → $a0:$a1; returns long long in $v0:$v1
jal llabslldiv
<stdlib.h>- Declaration
lldiv_t lldiv(long long num, long long den)- Header
<stdlib.h>- From assembly
- num → $a0:$a1; den → $a2:$a3; returns lldiv_t in $v0
jal lldivlocaltime
<time.h>- Declaration
struct tm *localtime(const time_t *t)- Header
<time.h>- From assembly
- t → $a0; returns struct tm * in $v0
jal localtimelog
<math.h>- Declaration
double log(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal loglog10
<math.h>- Declaration
double log10(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal log10log2
<math.h>- Declaration
double log2(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal log2logf
<math.h>- Declaration
float logf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal logfmalloc
<stdlib.h>- Declaration
void *malloc(size_t size)- Header
<stdlib.h>- From assembly
- size → $a0; returns void * in $v0
jal 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 $v0
jal 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 $v0
jal 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 $v0
jal 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 $v0
jal 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 $v0
jal memsetmktime
<time.h>- Declaration
time_t mktime(struct tm *tm)- Header
<time.h>- From assembly
- tm → $a0; returns time_t in $v0
jal mktimemodf
<math.h>- Declaration
double modf(double x, double *ip)- Header
<math.h>- From assembly
- x → $f12; ip → $a2; returns double in $f0
jal modfperror
<stdio.h>- Declaration
void perror(const char *msg)- Header
<stdio.h>- From assembly
- msg → $a0; returns nothing
jal perrorpow
<math.h>- Declaration
double pow(double x, double y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns double in $f0
jal powpowf
<math.h>- Declaration
float powf(float x, float y)- Header
<math.h>- From assembly
- x → $f12; y → $f14; returns float in $f0
jal powfprintf
<stdio.h>- Declaration
int printf(const char *format, ...)- Header
<stdio.h>- From assembly
- format → $a0; the remaining arguments → $a1…$a3, then the stack; returns int in $v0
jal printfputc
<stdio.h>- Declaration
int putc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → $a0; stream → $a1; returns int in $v0
jal putcputchar
<stdio.h>- Declaration
int putchar(int c)- Header
<stdio.h>- From assembly
- c → $a0; returns int in $v0
jal putcharputs
<stdio.h>- Declaration
int puts(const char *str)- Header
<stdio.h>- From assembly
- str → $a0; returns int in $v0
jal 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
jal qsortrand
<stdlib.h>- Declaration
int rand(void)- Header
<stdlib.h>- From assembly
- returns int in $v0
jal randrealloc
<stdlib.h>- Declaration
void *realloc(void *ptr, size_t size)- Header
<stdlib.h>- From assembly
- ptr → $a0; size → $a1; returns void * in $v0
jal reallocrewind
<stdio.h>- Declaration
void rewind(FILE *stream)- Header
<stdio.h>- From assembly
- stream → $a0; returns nothing
jal rewindround
<math.h>- Declaration
double round(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal roundroundf
<math.h>- Declaration
float roundf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal roundfscalbn
<math.h>- Declaration
double scalbn(double x, int n)- Header
<math.h>- From assembly
- x → $f12; n → $a2; returns double in $f0
jal scalbnscanf
<stdio.h>- Declaration
int scanf(const char *format, ...)- Header
<stdio.h>- From assembly
- format → $a0; the remaining arguments → $a1…$a3, then the stack; returns int in $v0
jal scanfsetbuf
<stdio.h>- Declaration
void setbuf(FILE *stream, char *buf)- Header
<stdio.h>- From assembly
- stream → $a0; buf → $a1; returns nothing
jal 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 $v0
jal setvbufsin
<math.h>- Declaration
double sin(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal sinsincos
<math.h>- Declaration
void sincos(double x, double *s, double *c)- Header
<math.h>- From assembly
- x → $f12; s → $a2; c → $a3; returns nothing
jal sincossincosf
<math.h>- Declaration
void sincosf(float x, float *s, float *c)- Header
<math.h>- From assembly
- x → $f12; s → $a1; c → $a2; returns nothing
jal sincosfsinf
<math.h>- Declaration
float sinf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal sinfsinh
<math.h>- Declaration
double sinh(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal 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…$a3, then the stack; returns int in $v0
jal snprintfsprintf
<stdio.h>- Declaration
int sprintf(char *str, const char *format, ...)- Header
<stdio.h>- From assembly
- str → $a0; format → $a1; the remaining arguments → $a2…$a3, then the stack; returns int in $v0
jal sprintfsqrt
<math.h>- Declaration
double sqrt(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal sqrtsqrtf
<math.h>- Declaration
float sqrtf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal sqrtfsrand
<stdlib.h>- Declaration
void srand(unsigned int seed)- Header
<stdlib.h>- From assembly
- seed → $a0; returns nothing
jal 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…$a3, then the stack; returns int in $v0
jal sscanfstrcat
<string.h>- Declaration
char *strcat(char *dest, const char *src)- Header
<string.h>- From assembly
- dest → $a0; src → $a1; returns char * in $v0
jal strcatstrchr
<string.h>- Declaration
char *strchr(const char *s, int c)- Header
<string.h>- From assembly
- s → $a0; c → $a1; returns char * in $v0
jal strchrstrcmp
<string.h>- Declaration
int strcmp(const char *a, const char *b)- Header
<string.h>- From assembly
- a → $a0; b → $a1; returns int in $v0
jal strcmpstrcoll
<string.h>- Declaration
int strcoll(const char *a, const char *b)- Header
<string.h>- From assembly
- a → $a0; b → $a1; returns int in $v0
jal strcollstrcpy
<string.h>- Declaration
char *strcpy(char *dest, const char *src)- Header
<string.h>- From assembly
- dest → $a0; src → $a1; returns char * in $v0
jal 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 $v0
jal strcspnstrdup
<string.h>- Declaration
char *strdup(const char *s)- Header
<string.h>- From assembly
- s → $a0; returns char * in $v0
jal strdupstrerror
<string.h>- Declaration
char *strerror(int errnum)- Header
<string.h>- From assembly
- errnum → $a0; returns char * in $v0
jal strerrorstrlen
<string.h>- Declaration
size_t strlen(const char *s)- Header
<string.h>- From assembly
- s → $a0; returns size_t in $v0
jal 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 $v0
jal 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 $v0
jal 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 $v0
jal strncpystrndup
<string.h>- Declaration
char *strndup(const char *s, size_t n)- Header
<string.h>- From assembly
- s → $a0; n → $a1; returns char * in $v0
jal 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 $v0
jal strnlenstrpbrk
<string.h>- Declaration
char *strpbrk(const char *s, const char *accept)- Header
<string.h>- From assembly
- s → $a0; accept → $a1; returns char * in $v0
jal strpbrkstrrchr
<string.h>- Declaration
char *strrchr(const char *s, int c)- Header
<string.h>- From assembly
- s → $a0; c → $a1; returns char * in $v0
jal 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 $v0
jal strspnstrstr
<string.h>- Declaration
char *strstr(const char *haystack, const char *needle)- Header
<string.h>- From assembly
- haystack → $a0; needle → $a1; returns char * in $v0
jal strstrstrtod
<stdlib.h>- Declaration
double strtod(const char *str, char * *end)- Header
<stdlib.h>- From assembly
- str → $a0; end → $a1; returns double in $f0
jal strtodstrtof
<stdlib.h>- Declaration
float strtof(const char *str, char * *end)- Header
<stdlib.h>- From assembly
- str → $a0; end → $a1; returns float in $f0
jal 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 $v0:$v1
jal strtoimaxstrtok
<string.h>- Declaration
char *strtok(char *str, const char *delim)- Header
<string.h>- From assembly
- str → $a0; delim → $a1; returns char * in $v0
jal 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 $v0
jal 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 $v0:$v1
jal 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 $v0
jal 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 $v0:$v1
jal 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 $v0:$v1
jal 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 $v0
jal strxfrmtan
<math.h>- Declaration
double tan(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal tantanf
<math.h>- Declaration
float tanf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal tanftanh
<math.h>- Declaration
double tanh(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal tanhtime
<time.h>- Declaration
time_t time(time_t *t)- Header
<time.h>- From assembly
- t → $a0; returns time_t in $v0
jal timetolower
<ctype.h>- Declaration
int tolower(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal tolowertoupper
<ctype.h>- Declaration
int toupper(int c)- Header
<ctype.h>- From assembly
- c → $a0; returns int in $v0
jal touppertrunc
<math.h>- Declaration
double trunc(double x)- Header
<math.h>- From assembly
- x → $f12; returns double in $f0
jal trunctruncf
<math.h>- Declaration
float truncf(float x)- Header
<math.h>- From assembly
- x → $f12; returns float in $f0
jal truncfungetc
<stdio.h>- Declaration
int ungetc(int c, FILE *stream)- Header
<stdio.h>- From assembly
- c → $a0; stream → $a1; returns int in $v0
jal 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 $v0
jal 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 $v0
jal vfscanfvprintf
<stdio.h>- Declaration
int vprintf(const char *format, va_list ap)- Header
<stdio.h>- From assembly
- format → $a0; ap → $a1; returns int in $v0
jal vprintfvscanf
<stdio.h>- Declaration
int vscanf(const char *format, va_list ap)- Header
<stdio.h>- From assembly
- format → $a0; ap → $a1; returns int in $v0
jal 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 $v0
jal 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 $v0
jal 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 $v0
jal vsscanf