diff options
| author | Aetias <aetias@outlook.com> | 2024-04-08 23:22:30 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-08 23:22:30 +0200 |
| commit | 7142c0c83b124e0f976d168aa8567e5772264324 (patch) | |
| tree | d2afd98c9b3f05d4d02fe1a969bde00571e10921 /libs/c/include | |
| parent | ea0165eb26672be62fa17afc5bc4e9a32990f880 (diff) | |
Add `size_t`
Diffstat (limited to 'libs/c/include')
| -rw-r--r-- | libs/c/include/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/c/include/string.h b/libs/c/include/string.h index 1483e8e9..cd56cef6 100644 --- a/libs/c/include/string.h +++ b/libs/c/include/string.h @@ -1,6 +1,8 @@ #ifndef _C_STRING_H #define _C_STRING_H +typedef unsigned int size_t; + size_t strlen(const char *str); char* strcpy(char *dest, const char *src); char* strncpy(char *dest, const char *src, size_t num); |
