riscv-pke/util/string.h

15 lines
415 B
C

#ifndef _STRING_H
#define _STRING_H
#include <stddef.h>
void* memcpy(void* dest, const void* src, size_t len);
void* memset(void* dest, int byte, size_t len);
size_t strlen(const char* s);
int strcmp(const char* s1, const char* s2);
char* strcpy(char* dest, const char* src);
long atol(const char* str);
void* memmove(void* dst, const void* src, size_t n);
char* safestrcpy(char* s, const char* t, int n);
#endif