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