summaryrefslogtreecommitdiffstats
path: root/tools/include/nolibc
Commit message (Expand)AuthorAgeFilesLines
* tools/nolibc/string: Implement `strdup()` and `strndup()`Ammar Faizi2022-04-201-0/+32
* tools/nolibc/string: Implement `strnlen()`Ammar Faizi2022-04-201-0/+9
* tools/nolibc/stdlib: Implement `malloc()`, `calloc()`, `realloc()` and `free()`Ammar Faizi2022-04-201-0/+81
* tools/nolibc/types: Implement `offsetof()` and `container_of()` macroAmmar Faizi2022-04-201-0/+11
* tools/nolibc/sys: Implement `mmap()` and `munmap()`Ammar Faizi2022-04-201-0/+62
* tools/nolibc: i386: Implement syscall with 6 argumentsAmmar Faizi2022-04-201-0/+23
* tools/nolibc: Remove .global _start from the entry point codeAmmar Faizi2022-04-206-6/+0
* tools/nolibc: Replace `asm` with `__asm__`Ammar Faizi2022-04-206-198/+198
* tools/nolibc: x86-64: Update System V ABI document linkAmmar Faizi2022-04-201-1/+1
* tools/nolibc/stdlib: only reference the external environ when inlinedWilly Tarreau2022-04-201-7/+15
* tools/nolibc/string: do not use __builtin_strlen() at -O0Willy Tarreau2022-04-201-1/+10
* tools/nolibc: add a makefile to install headersWilly Tarreau2022-04-201-0/+42
* tools/nolibc/types: add poll() and waitpid() flag definitionsWilly Tarreau2022-04-201-0/+10
* tools/nolibc/sys: add syscall definition for getppid()Willy Tarreau2022-04-201-0/+17
* tools/nolibc/string: add strcmp() and strncmp()Willy Tarreau2022-04-201-0/+23
* tools/nolibc/stdio: add support for '%p' to vfprintf()Willy Tarreau2022-04-201-11/+19
* tools/nolibc/stdlib: add a simple getenv() implementationWilly Tarreau2022-04-201-0/+23
* tools/nolibc/stdio: make printf(%s) accept NULLWilly Tarreau2022-04-201-0/+2
* tools/nolibc/stdlib: implement abort()Willy Tarreau2022-04-201-0/+8
* tools/nolibc: also mention how to build by just setting the include pathWilly Tarreau2022-04-201-10/+20
* tools/nolibc/time: create time.h with time()Willy Tarreau2022-04-202-0/+29
* tools/nolibc/signal: move raise() to signal.hWilly Tarreau2022-04-203-7/+23
* tools/nolibc/unistd: add usleep()Willy Tarreau2022-04-201-0/+8
* tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.hWilly Tarreau2022-04-203-30/+47
* tools/nolibc/errno: extract errno.h from sys.hWilly Tarreau2022-04-203-16/+29
* tools/nolibc/string: export memset() and memmove()Willy Tarreau2022-04-201-2/+8
* tools/nolibc/types: define PATH_MAX and MAXPATHLENWilly Tarreau2022-04-201-0/+11
* tools/nolibc/arch: mark the _start symbol as weakWilly Tarreau2022-04-206-0/+6
* tools/nolibc: move exported functions to their own sectionWilly Tarreau2022-04-202-2/+2
* tools/nolibc/string: add tiny versions of strncat() and strlcat()Willy Tarreau2022-04-201-0/+41
* tools/nolibc/string: add strncpy() and strlcpy()Willy Tarreau2022-04-201-0/+28
* tools/nolibc/string: slightly simplify memmove()Willy Tarreau2022-04-201-6/+14
* tools/nolibc/string: use unidirectional variants for memcpy()Willy Tarreau2022-04-201-1/+23
* tools/nolibc/sys: make getpgrp(), getpid(), gettid() not set errnoWilly Tarreau2022-04-201-21/+3
* tools/nolibc/stdlib: make raise() use the lower level syscalls onlyWilly Tarreau2022-04-201-1/+1
* tools/nolibc/stdlib: avoid a 64-bit shift in u64toh_r()Willy Tarreau2022-04-201-6/+10
* tools/nolibc/sys: make open() take a vararg on the 3rd argumentWilly Tarreau2022-04-201-3/+15
* tools/nolibc/stdio: add perror() to report the errno valueWilly Tarreau2022-04-201-0/+6
* tools/nolibc/types: define EXIT_SUCCESS and EXIT_FAILUREWilly Tarreau2022-04-201-0/+3
* tools/nolibc/stdio: add a minimal [vf]printf() implementationWilly Tarreau2022-04-201-0/+128
* tools/nolibc/stdio: add fwrite() to stdioWilly Tarreau2022-04-201-7/+28
* tools/nolibc/stdio: add stdin/stdout/stderr and fget*/fput* functionsWilly Tarreau2022-04-201-6/+89
* tools/nolibc/stdio: add a minimal set of stdio functionsWilly Tarreau2022-04-202-0/+58
* tools/nolibc/stdlib: add utoh() and u64toh()Willy Tarreau2022-04-201-0/+80
* tools/nolibc/stdlib: add i64toa() and u64toa()Willy Tarreau2022-04-201-0/+72
* tools/nolibc/stdlib: replace the ltoa() function with more efficient onesWilly Tarreau2022-04-201-21/+88
* tools/nolibc/stdlib: move ltoa() to stdlib.hWilly Tarreau2022-04-202-22/+32
* tools/nolibc/types: move makedev to types.h and make it a macroWilly Tarreau2022-04-202-9/+5
* tools/nolibc/types: make FD_SETSIZE configurableWilly Tarreau2022-04-201-2/+4
* tools/nolibc/types: move the FD_* functions to macros in types.hWilly Tarreau2022-04-202-14/+30