62void *
calloc(
size_t count,
size_t size)
189void *
memset(
void *ptr,
int val,
size_t num)
534void qsort(
void *first,
size_t nitems,
size_t size,
int (*comparator)(
const void *,
const void *))
#define __swi_returns_twice_begin(number)
#define __swi_variadic_begin(number)
#define __swi_returns_twice_end(number, func, call)
#define __swi_end(number, func, call)
#define __swi_variadic_end(number, func,...)
#define __swi_noreturn_end(number, func, call)
#define __swi_format(type,...)
#define __swi_begin(number)
#define __swi_noreturn_begin(number)
size_t strlen(const char *str)
Get string length.
void longjmp(jmp_buf env, int val)
Long jump.
void * memset(void *ptr, int val, size_t num)
Fill block of memory with zero.
int setjmp(jmp_buf env)
Save calling environment for long jump.
char * strncpy(char *destination, const char *source, size_t num)
Copy characters from string.
int unsetenv(const char *name)
Remove environment variable.
int snprintf(char *s, size_t n, const char *format,...)
Write formatted output to sized buffer.
int memcmp(const void *ptr1, const void *ptr2, size_t num)
Compare two blocks of memory.
char * strncat(char *destination, const char *source, size_t num)
Append characters from string.
void * dlsym(int handle, const char *name)
Get a pointer to the symbol from the previously loaded dynamic object.
int vsnprintf(char *s, size_t n, const char *format, va_list args)
Write formatted output to a sized buffer using a variable argument list.
unsigned long strtoul(const char *str, char **endptr, int base)
Convert string to unsigned long integer.
size_t strcspn(const char *str1, const char *str2)
Get span until character in string.
void * bsearch(const void *key, const void *first, size_t nitems, size_t size, int(*comparator)(const void *, const void *))
Searchign in array.
long int strtol(const char *str, char **endptr, int base)
Convert string to long integer.
void zeromem(void *ptr, int num)
Fill block of memory with zero.
void bzero(void *ptr, int num)
Fill block of memory with zero.
int strcmpi(const char *str1, const char *str2)
Compare two strings without case sensitivity.
int dlclose(int handle)
Close previously loaded dynamic object.
char * strrchr(const char *str, int character)
Locate last occurrence of character in string.
void qsort(void *first, size_t nitems, size_t size, int(*comparator)(const void *, const void *))
Sorting array.
int strncmp(const char *str1, const char *str2, size_t num)
Compare characters of two strings.
int strcmp(const char *str1, const char *str2)
Compare two strings.
int setenv(const char *name, const char *value, int replace)
Set a value for the environment variable.
void * memcpy(void *destination, const void *source, size_t num)
Copy block of memory.
char * strcat(char *destination, const char *source)
Concatenate strings.
int strcasecmp(const char *str1, const char *str2)
Compare two strings without case sensitivity.
char * strchr(const char *str, int character)
Locate first occurrence of character in string.
void * memchr(const void *str, int c, size_t num)
Locate character in block of memory.
void * malloc_adr(void)
Pointer to the function malloc().
void * malloc(size_t size)
Allocate memory block.
int sprintf(char *s, const char *format,...)
Write formatted output to buffer.
void * mfree_adr(void)
Pointer to the function free().
char * strstr(const char *str1, const char *str2)
Locate substring.
char * getenv(const char *name)
Get value for the environment variable.
int sscanf(const char *s, const char *format,...)
Read formatted data from string.
void * memmove(void *destination, const void *source, size_t num)
Move block of memory.
void * realloc(void *ptr, size_t size)
Reallocate memory block.
int dlopen(const char *name)
Load the dynamic shared object (.so).
void * calloc(size_t count, size_t size)
Allocate and zero-initialize array.
void mfree(void *ptr)
Free previously allocated memory.
int rand(void)
Generate random number.
int clearenv(void)
Remove all environment variables.
char * strcpy(char *destination, const char *source)
Copy string.
void srand(uint32_t seed)
Initialize random number generator.
void free(void *ptr)
Deallocate memory block.
int vsprintf(char *s, const char *format, va_list args)
Write formatted output to buffer using a variable argument list.
const char * dlerror(void)
Get a string representation of the last error in _dlopen.
void * realloc_adr(void)
Pointer to the function realloc().