Files
mm/include/libc/string.h
T
Tharo 01a1b113b4 libultra/libc cleanup (#1757)
* libultra/libc cleanup

* Format

* Correct prototype for strchr

* Different prototypes for bzero, bcmp, bcopy under __GNUC__ to match builtin prototypes

* Correct alloca prototype
2024-12-13 18:28:22 -08:00

16 lines
384 B
C

#ifndef LIBC_STRING_H
#define LIBC_STRING_H
#include "stddef.h"
char* strchr(const char* s, int c);
size_t strlen(const char* s);
void* memcpy(void* s1, const void* s2, size_t n);
void* memset(void* ptr, int val, size_t size);
int strcmp(const char* str1, const char* str2);
char* strcpy(char* dst, const char* src);
void* memmove(void* dst, const void* src, size_t size);
#endif