2 * string.h - string handling
4 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
5 * See the copyright notice in the ACK home directory, in the file "Copyright".
7 /* $Id: string.h,v 1.6 1994/06/24 11:41:29 ceriel Exp $ */
9 #if !defined(_STRING_H)
12 #define NULL ((void *)0)
16 typedef unsigned int size_t; /* type returned by sizeof */
19 void *memcpy(void *_s1, const void *_s2, size_t _n);
20 void *memmove(void *_s1, const void *_s2, size_t _n);
21 char *strcpy(char *_s1, const char *_s2);
22 char *strncpy(char *_s1, const char *_s2, size_t _n);
23 char *strcat(char *_s1, const char *_s2);
24 char *strncat(char *_s1, const char *_s2, size_t _n);
25 int memcmp(const void *_s1, const void *_s2, size_t _n);
26 int strcmp(const char *_s1, const char *_s2);
27 int strcoll(const char *_s1, const char *_s2);
28 int strncmp(const char *_s1, const char *_s2, size_t _n);
29 size_t strxfrm(char *_s1, const char *_s2, size_t _n);
30 void *memchr(const void *_s, int _c, size_t _n);
31 char *strchr(const char *_s, int _c);
32 size_t strcspn(const char *_s1, const char *_s2);
33 char *strpbrk(const char *_s1, const char *_s2);
34 char *strrchr(const char *_s, int _c);
35 size_t strspn(const char *_s1, const char *_s2);
36 char *strstr(const char *_s1, const char *_s2);
37 char *strtok(char *_s1, const char *_s2);
38 void *memset(void *_s, int _c, size_t _n);
39 char *strerror(int _errnum);
40 size_t strlen(const char *_s);
42 #endif /* _STRING_H */