diff options
| author | Aetias <aetias@outlook.com> | 2024-04-08 20:29:55 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-08 20:29:55 +0200 |
| commit | ea0165eb26672be62fa17afc5bc4e9a32990f880 (patch) | |
| tree | aa93d7e944fc2d3b1400ee09d6938c1e75e0c718 /libs/c/include | |
| parent | 392ccb357e8b9bf5d12eae74577b5778bff7c9cd (diff) | |
Label `string.h` functions
Diffstat (limited to 'libs/c/include')
| -rw-r--r-- | libs/c/include/string.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/c/include/string.h b/libs/c/include/string.h new file mode 100644 index 00000000..1483e8e9 --- /dev/null +++ b/libs/c/include/string.h @@ -0,0 +1,13 @@ +#ifndef _C_STRING_H +#define _C_STRING_H + +size_t strlen(const char *str); +char* strcpy(char *dest, const char *src); +char* strncpy(char *dest, const char *src, size_t num); +char* strcat(char *dest, const char *src); +int strcmp(char *str1, char *str2); +int strncmp(char *str1, char *str2, size_t num); +const char* strchr(const char *str, char ch); +const char* strstr(const char *str1, const char *str2); + +#endif |
