Files
osdev/libc/string.h
T
Luke Street 05a529ffb6 Switch to multiboot (actually possible to debug); shell improvements
- More string.c functions
- Vector implementation (based off of vc_vector)
- Enable SSE
- Shell "history"
- Better memory debug print
2018-09-23 17:23:38 -04:00

26 lines
622 B
C

#pragma once
#include <stdint.h>
#define size_t uint32_t
#define NULL 0
void *memcpy(void *restrict destination, const void *restrict source, size_t num);
void *memmove(void *destination, const void *source, size_t num);
void *memset(void *ptr, int value, size_t num);
int memcmp(const void *s1, const void *s2, size_t n);
size_t strlen(const char *str);
int strcmp(const char *str1, const char *str2);
int strncmp(const char *str1, const char *str2, size_t num);
char *strcpy(char *destination, const char *source);
char *strncpy(char *restrict s1, const char *restrict s2, size_t n);
char *strdup(char *str);