summaryrefslogtreecommitdiff
path: root/kernel/src/klibc/string.hpp
blob: c9008625020e96309d5f5873f2d84280bf7d7eaf (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once
#include <cstdint>

namespace klibc {
    int strlen(const char* str);
    void* memcpy(void *__restrict dest, const void *__restrict src, std::size_t n);
    void* memset(void *s, int c, std::size_t n);
    void* memmove(void *dest, const void *src, std::size_t n);
    int memcmp(const void *s1, const void *s2, std::size_t n);
};