blob: 50091cc0eed97a3ba8b384c6a88a11ba64265bef [file] [log] [blame]
Olaf Heringdecd3002005-08-08 13:24:38 +10001#ifndef _PPC_BOOT_STRING_H_
2#define _PPC_BOOT_STRING_H_
Olaf Hering8afe31c2005-10-28 17:46:37 -07003#include <stddef.h>
Olaf Heringdecd3002005-08-08 13:24:38 +10004
5extern char *strcpy(char *dest, const char *src);
6extern char *strncpy(char *dest, const char *src, size_t n);
7extern char *strcat(char *dest, const char *src);
David Gibson0ae0b542007-08-28 14:52:57 +10008extern char *strchr(const char *s, int c);
Olaf Heringdecd3002005-08-08 13:24:38 +10009extern int strcmp(const char *s1, const char *s2);
David Gibson0ae0b542007-08-28 14:52:57 +100010extern int strncmp(const char *s1, const char *s2, size_t n);
Olaf Heringdecd3002005-08-08 13:24:38 +100011extern size_t strlen(const char *s);
12extern size_t strnlen(const char *s, size_t count);
13
14extern void *memset(void *s, int c, size_t n);
15extern void *memmove(void *dest, const void *src, unsigned long n);
16extern void *memcpy(void *dest, const void *src, unsigned long n);
David Gibson9b4b8fe2007-10-12 12:36:20 +100017extern void *memchr(const void *s, int c, size_t n);
Olaf Heringdecd3002005-08-08 13:24:38 +100018extern int memcmp(const void *s1, const void *s2, size_t n);
19
20#endif /* _PPC_BOOT_STRING_H_ */