OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
string.h
Go to the documentation of this file.
1
66
67#ifndef OPENSNES_STRING_H
68#define OPENSNES_STRING_H
69
70#include <snes/types.h>
71
82void FAR *memcpy(void FAR *dst, const void *src, unsigned int n);
83
93void FAR *memmove(void FAR *dst, const void *src, unsigned int n);
94
102void FAR *memset(void FAR *dst, int c, unsigned int n);
103
109unsigned int strlen(const char *s);
110
118int strcmp(const char *a, const char *b);
119
126char FAR *strcpy(char FAR *dst, const char *src);
127
139char FAR *strncpy(char FAR *dst, const char *src, unsigned int n);
140
141#endif /* OPENSNES_STRING_H */
static u16 b
Definition main.c:145
static u16 a
Definition main.c:145
static u16 c
Definition main.c:145
#define FAR
Place a global in bank $7E WRAM, outside the 8 KB bank-0 band.
Definition types.h:130
void FAR * memmove(void FAR *dst, const void *src, unsigned int n)
Copy n bytes from src to dst, the areas may overlap.
int strcmp(const char *a, const char *b)
Compare two strings.
void FAR * memset(void FAR *dst, int c, unsigned int n)
Fill n bytes with a value.
char FAR * strncpy(char FAR *dst, const char *src, unsigned int n)
Copy at most n bytes of a string.
void FAR * memcpy(void FAR *dst, const void *src, unsigned int n)
Copy n bytes from src to dst.
unsigned int strlen(const char *s)
Length of a string.
char FAR * strcpy(char FAR *dst, const char *src)
Copy a string, terminator included.
OpenSNES Standard Types.