diff options
author | Marvin Borner | 2021-07-12 18:14:44 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-12 18:15:29 +0200 |
commit | 1b429c0fc28e5cd8b474ad5a1de1fa6f3d7c2e2a (patch) | |
tree | 593af3e3ec78795bb47553f492db07fb7e87e373 /src/loader/inc/library.h | |
parent | d414d2f6f46bd425d727af5baae3e2658d6e1384 (diff) |
Renamed files to match presentation
Diffstat (limited to 'src/loader/inc/library.h')
-rw-r--r-- | src/loader/inc/library.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/loader/inc/library.h b/src/loader/inc/library.h new file mode 100644 index 0000000..2f49007 --- /dev/null +++ b/src/loader/inc/library.h @@ -0,0 +1,20 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef LIB_H +#define LIB_H + +#include <def.h> + +u32 strlen(const char *str); +u32 strnlen(const char *s, u32 max); +u32 strlcpy(char *dst, const char *src, u32 size); +s32 strncmp(const char *s1, const char *s2, u32 n); + +void *memcpy(void *dest, const void *src, u32 n); +void *memset(void *dest, u32 val, u32 n); +s32 memcmp(const void *s1, const void *s2, u32 n); + +s32 itoa(s32 value, char *buffer, u32 base); +s32 atoi(const char *inp); + +#endif |