Files
aster-core/include/string.h
T
2026-07-12 05:44:42 +02:00

26 lines
610 B
C

/*
* AsterOS Kernel
* Autor: Pavel Kalaš
* Rok: 2026
*
*/
/*
* Tento soubor deklaruje minimalisticke utility bez zavislosti na libc.
* Obsahuje zakladni operace nad retezci a pameti, ktere kernel potrebuje
* uz v ranych fazich bootu, kdy standardni knihovny nejsou dostupne.
*/
#ifndef ASTER_STRING_H
#define ASTER_STRING_H
#include "types.h"
usize aster_strlen(const char *s);
int aster_strcmp(const char *a, const char *b);
int aster_strncmp(const char *a, const char *b, usize n);
void *aster_memcpy(void *dst, const void *src, usize n);
void *aster_memset(void *dst, int v, usize n);
#endif