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