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