diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-31 00:25:36 -0500 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-31 00:25:36 -0500 |
commit | eadb94693002a2f5435722f2d967d7fa08866a1d (patch) | |
tree | e1f98cc27b8891e939c8f051628c709e4fe056ca /kernel/include/libk/string.h | |
parent | 4959f61efcf664f80e8526c834f6ed35413af7ea (diff) |
(misc): Add support for C++
Diffstat (limited to 'kernel/include/libk/string.h')
-rw-r--r-- | kernel/include/libk/string.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/include/libk/string.h b/kernel/include/libk/string.h index edb4a06..490878f 100644 --- a/kernel/include/libk/string.h +++ b/kernel/include/libk/string.h @@ -21,6 +21,14 @@ #include <stddef.h> +#ifdef __cplusplus +extern "C" { +#endif + size_t strlen(const char *str); +#ifdef __cplusplus +} +#endif + #endif |