summaryrefslogtreecommitdiff
path: root/src/shared/mem.h
blob: 8eb091ffb44c0cd36fb28973269fbaaa7df987b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <stddef.h>

void *memchr(const void *s, int c, size_t n);
int memcmp(const void *s1, const void *s2, size_t n);

void *memcpy(void *dest, const void *src, size_t n);
void *memset(void *s, int c, size_t n);

int strcmp(const char *s1, const char *s2);
size_t strlen(const char *s);