mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
01a1b113b4
* libultra/libc cleanup * Format * Correct prototype for strchr * Different prototypes for bzero, bcmp, bcopy under __GNUC__ to match builtin prototypes * Correct alloca prototype
16 lines
384 B
C
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
|