mirror of
https://github.com/zeldaret/oot-gc.git
synced 2026-10-04 16:27:55 -04:00
36e1694e99
* updated headers * moved current files to their own folder * added OS files * don't use osreboot.c * first os files * match os files * cleanup * remove asm_types.h * review 1 * remove math.h * move emulator headers to their own folder * use the build year instead of the revision number for sdk rev define * updated the comment about the revision * function declaration cleanup * improve formatting * match osreboot * review * add missing files to objdiff.json
28 lines
623 B
C
28 lines
623 B
C
#ifndef _STRING_H_
|
|
#define _STRING_H_
|
|
|
|
#include "stddef.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#pragma section code_type ".init"
|
|
void* memcpy(void* dst, const void* src, size_t n);
|
|
void* memset(void* dst, int val, size_t n);
|
|
void __fill_mem(void* dst, int val, size_t n);
|
|
#pragma section code_type
|
|
|
|
size_t strlen(const char* s);
|
|
char* strcpy(char* dest, const char* src);
|
|
char* strncpy(char* dest, const char* src, size_t num);
|
|
int strcmp(const char* s1, const char* s2);
|
|
int strncmp(const char* s1, const char* s2, size_t n);
|
|
char* strncat(char* dest, const char* src, size_t n);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|