Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / libcc.ansi / headers / string.h
1 /*
2  * string.h - string handling
3  *
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".
6  */
7 /* $Id: string.h,v 1.6 1994/06/24 11:41:29 ceriel Exp $ */
8
9 #if     !defined(_STRING_H)
10 #define _STRING_H
11
12 #define NULL            ((void *)0)
13
14 #if     !defined(_SIZE_T)
15 #define _SIZE_T
16 typedef unsigned int    size_t;         /* type returned by sizeof */
17 #endif  /* _SIZE_T */
18
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);
41
42 #endif  /* _STRING_H */