Files
mop3/kernel/libk/string.h
kamkow1 b9e8a8bf1d
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m53s
Integrate LZ4 library, compress the ramdisk
2026-03-07 02:54:26 +01:00

27 lines
627 B
C

#ifndef _KERNEL_LIBK_STRING_H
#define _KERNEL_LIBK_STRING_H
#include <libk/std.h>
size_t memset (void* dst, uint8_t b, size_t n);
void* memcpy (void* dst, const void* src, size_t n);
void strncpy (char* dst, const char* src, size_t n);
size_t strlen (const char* str);
int memcmp (const void* s1, const void* s2, size_t n);
int strncmp (const char* s1, const char* s2, size_t n);
int strcmp (const char* s1, const char* s2);
char* strncat (char* dest, const char* src, size_t n);
void* memmove (void* dest, const void* src, unsigned int n);
#define strlen_null(x) (strlen ((x)) + 1)
#endif // _KERNEL_LIBK_STRING_H