# GBDK 2020 Docs: asm/z80/string.h Source File

string.h
Go to the documentation of this file.
#ifndef STRING_INCLUDE
#define STRING_INCLUDE
#include <types.h>
char *strcpy(char *dest, const char *src) OLDCALL;
int strcmp(const char *s1, const char *s2);
void *memcpy(void *dest, const void *src, size_t len) OLDCALL;
void *memmove (void *dest, const void *src, size_t n) OLDCALL;
void *memset (void *s, int c, size_t n) Z88DK_CALLEE;
char *reverse(char *s) NONBANKED;
char *strcat(char *s1, const char *s2) NONBANKED;
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;
int memcmp(const void *buf1, const void *buf2, size_t count) Z88DK_CALLEE;
#endif
strcpy
char * strcpy(char *dest, const char *src) OLDCALL PRESERVES_REGS(b
types.h
reverse
char * reverse(char *s) OLDCALL PRESERVES_REGS(b
memcmp
int memcmp(const void *buf1, const void *buf2, size_t count) OLDCALL
c
char c
Definition: string.h:20
strncat
char * strncat(char *s1, const char *s2, int n)
Z88DK_CALLEE
#define Z88DK_CALLEE
Definition: types.h:42
memmove
void * memmove(void *dest, const void *src, size_t n)
memset
void * memset(void *s, int c, size_t n) OLDCALL PRESERVES_REGS(b
memcpy
void * memcpy(void *dest, const void *src, size_t len) OLDCALL PRESERVES_REGS(b
strncmp
int strncmp(const char *s1, const char *s2, int n)
OLDCALL
#define OLDCALL
Definition: types.h:19
strcat
char * strcat(char *s1, const char *s2)
strcmp
int strcmp(const char *s1, const char *s2) OLDCALL PRESERVES_REGS(b
strncpy
char * strncpy(char *s1, const char *s2, int n)
NONBANKED
#define NONBANKED
Definition: types.h:36
strlen
int strlen(const char *s) OLDCALL PRESERVES_REGS(b