GBDK 2020 Docs  4.5.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
20char *strcpy(char *dest, const char *src) OLDCALL;
21
32int strcmp(const char *s1, const char *s2);
33
42void *memcpy(void *dest, const void *src, size_t len);
43
46void *memmove (void *dest, const void *src, size_t n) OLDCALL;
47
54void *memset (void *s, int c, size_t n) Z88DK_CALLEE;
55
66char *reverse(char *s) NONBANKED;
67
79char *strcat(char *s1, const char *s2) NONBANKED;
80
87int strlen(const char *s) OLDCALL;
88
99char *strncat(char *s1, const char *s2, int n) NONBANKED;
100
112int strncmp(const char *s1, const char *s2, int n) NONBANKED;
113
129char *strncpy(char *s1, const char *s2, int n) NONBANKED;
130
142int memcmp(const void *buf1, const void *buf2, size_t count) Z88DK_CALLEE;
143
144#endif
int memcmp(const void *buf1, const void *buf2, size_t count)
void * memmove(void *dest, const void *src, size_t n) OLDCALL
void * memset(void *s, int c, size_t n)
char * reverse(char *s) NONBANKED
char * strcat(char *s1, const char *s2) NONBANKED
int strcmp(const char *s1, const char *s2)
char * strcpy(char *dest, const char *src) OLDCALL
int strlen(const char *s) OLDCALL
char * strncat(char *s1, const char *s2, int n) NONBANKED
int strncmp(const char *s1, const char *s2, int n) NONBANKED
char * strncpy(char *s1, const char *s2, int n) NONBANKED
char c
Definition: string.h:20
void * memcpy(void *dest, const void *src, size_t len)
#define NONBANKED
Definition: types.h:40
#define OLDCALL
Definition: types.h:21
#define Z88DK_CALLEE
Definition: types.h:46