25 |
#include <pupa/types.h> |
#include <pupa/types.h> |
26 |
#include <pupa/symbol.h> |
#include <pupa/symbol.h> |
27 |
|
|
28 |
void *EXPORT_FUNC(pupa_memcpy) (void *dest, const void *src, pupa_size_t n); |
/* XXX: If pupa_memmove is too slow, we must implement pupa_memcpy. */ |
29 |
|
#define pupa_memcpy(d,s,n) pupa_memmove ((d), (s), (n)) |
30 |
|
|
31 |
|
void *EXPORT_FUNC(pupa_memmove) (void *dest, const void *src, pupa_size_t n); |
32 |
|
char *EXPORT_FUNC(pupa_strcpy) (char *dest, const char *src); |
33 |
int EXPORT_FUNC(pupa_memcmp) (const void *s1, const void *s2, pupa_size_t n); |
int EXPORT_FUNC(pupa_memcmp) (const void *s1, const void *s2, pupa_size_t n); |
34 |
int EXPORT_FUNC(pupa_strcmp) (const char *s1, const char *s2); |
int EXPORT_FUNC(pupa_strcmp) (const char *s1, const char *s2); |
35 |
char *EXPORT_FUNC(pupa_strchr) (const char *s, int c); |
char *EXPORT_FUNC(pupa_strchr) (const char *s, int c); |