aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/lib.h
blob: f83c7d53b6baa56f11d2c3ef5674eab3e44750c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MELVIX_LIB_H
#define MELVIX_LIB_H

#include <stddef.h>

size_t strlen(const char *str);

size_t strcmp(const char *s1, const char *s2);

char *strcat(char *dst, const char *src);

char *strcpy(char *dst, const char *src);

void *memory_copy(void *dest, const void *src, size_t count);

void *memory_set(void *dest, char val, size_t count);

int memory_compare(const void *a_ptr, const void *b_ptr, size_t size);

char *itoa(int i, char b[]);

#endif