diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 22:22:16 +0100 |
| commit | 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (patch) | |
| tree | ae0285dd15042d1e9236a5ce2e60daf65acbdca0 /include/string.h | |
| parent | fc00c656c96528112d05cf0edf8631bd5eaea446 (diff) | |
Add bin/true and bin/false implementations
- Added assembly implementations for `true` and `false` commands.
- Updated Kbuild files to include new binaries.
- Removed unused libraries and headers.
- Cleaned up makefile and unused code.
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h index f9a1a829..17ad87e5 100644 --- a/include/string.h +++ b/include/string.h @@ -1,13 +1,16 @@ #ifndef __STRING_H #define __STRING_H -typedef __SIZE_TYPE__ size_t; -typedef struct __locale_t *locale_t; +#define __BITS_ERRNO_H_ +#include <bits/errno.h> #ifndef NULL #define NULL ((void *)0) #endif +typedef __SIZE_TYPE__ size_t; +typedef struct __locale_t *locale_t; + void *memccpy(void *restrict, const void *restrict, int, size_t); void *memchr(const void *, int, size_t); int memcmp(const void *, const void *, size_t); |
