#ifndef _STRING_H_
#define _STRING_H_

/* very incomplete, obviously */

#include <stddef.h>

#ifdef __STDC__
#ifdef bsd_unix
extern char *bcopy(char *, char *, int);
#define memcpy(dest, src, len) (((NORET)bcopy(src, dest, len)), src)
#endif
extern char *strcat(char *, const char *);
extern char *strncat(char *, const char *, size_t);
extern char *strcpy(char *, const char *);
extern int strcmp(const char *, const char *);
extern int strncmp(const char *, const char *, size_t);
extern char *strncpy(char *, const char *, size_t);
extern int strlen(const char *);
extern char *strchr(char *, char);
extern char *strrchr(char *, char);

extern char *strerror(int);
#else
#ifdef bsd_unix
extern char *bcopy();
#define memcpy(dest, src, len) (((NORET)bcopy(src, dest, len)), src)
#endif
#include "/usr/include/string.h"
#endif
#endif
