GBDK 2020 Docs  4.3.0
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) OLDCALL;
21 
32 int strcmp(const char *s1, const char *s2);
33 
42 void *__memcpy(void *dest, const void *src, size_t len);
43 #define memcpy(dst, src, n) __memcpy(dst, src, n)
44 
47 void *memmove (void *dest, const void *src, size_t n) OLDCALL;
48 
55 void *memset (void *s, int c, size_t n);
56 
67 char *reverse(char *s) NONBANKED;
68 
80 char *strcat(char *s1, const char *s2) NONBANKED;
81 
88 int strlen(const char *s) OLDCALL;
89 
100 char *strncat(char *s1, const char *s2, int n) NONBANKED;
101 
113 int strncmp(const char *s1, const char *s2, int n) NONBANKED;
114 
130 char *strncpy(char *s1, const char *s2, int n) NONBANKED;
131 
143 int memcmp(const void *buf1, const void *buf2, size_t count);
144 
145 #endif
int strcmp(const char *s1, const char *s2)
char * strcat(char *s1, const char *s2) NONBANKED
char * strncat(char *s1, const char *s2, int n) NONBANKED
char * strncpy(char *s1, const char *s2, int n) NONBANKED
char * reverse(char *s) NONBANKED
void * memmove(void *dest, const void *src, size_t n) OLDCALL
int strncmp(const char *s1, const char *s2, int n) NONBANKED
int memcmp(const void *buf1, const void *buf2, size_t count)
void * __memcpy(void *dest, const void *src, size_t len)
int strlen(const char *s) OLDCALL
void * memset(void *s, int c, size_t n)
char * strcpy(char *dest, const char *src) OLDCALL
char c
Definition: string.h:20
#define OLDCALL
Definition: types.h:21
#define NONBANKED
Definition: types.h:40