GBDK 2020 API Docs
API Documentation for GBDK 2020
string.h
Go to the documentation of this file.
1 
4 #ifndef STRING_INCLUDE
5 #define STRING_INCLUDE
6 
7 #include <types.h>
8 
20 char *strcpy(char *dest, const char *src) NONBANKED;
21 
32 int strcmp(const char *s1, const char *s2) NONBANKED;
33 
42 void *memcpy(void *dest, const void *src, size_t len) NONBANKED;
43 
50 void *memset (void *s, int c, size_t n);
51 
62 char *reverse(char *s);
63 
75 char *strcat(char *s1, const char *s2) NONBANKED;
76 
83 int strlen(const char *s) NONBANKED;
84 
95 char *strncat(char *s1, const char *s2, int n) NONBANKED;
96 
108 int strncmp(const char *s1, const char *s2, int n) NONBANKED;
109 
125 char *strncpy(char *s1, const char *s2, int n) NONBANKED;
126 
127 #endif
strncmp
int strncmp(const char *s1, const char *s2, int n) NONBANKED
strncpy
char * strncpy(char *s1, const char *s2, int n) NONBANKED
strncat
char * strncat(char *s1, const char *s2, int n) NONBANKED
strcat
char * strcat(char *s1, const char *s2) NONBANKED
types.h
memcpy
void * memcpy(void *dest, const void *src, size_t len) NONBANKED
c
UINT8 c
Definition: gb.h:278
strcpy
char * strcpy(char *dest, const char *src) NONBANKED
memset
void * memset(void *s, int c, size_t n)
strcmp
int strcmp(const char *s1, const char *s2) NONBANKED
strlen
int strlen(const char *s) NONBANKED
NONBANKED
#define NONBANKED
Definition: types.h:11
reverse
char * reverse(char *s)