Pristine Ack-5.5
[Ack-5.5.git] / modules / src / string / ack_string.h
1 /*
2  * (c) copyright 1993 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* RCS: $Id: */
6
7 #ifndef __ACK_STRING_INCLUDED__
8 #define __ACK_STRING_INCLUDED__
9
10 #include <ansi.h>
11
12 _PROTOTYPE(char *strcpy, (char *s1, const char *s2));
13 _PROTOTYPE(char *strncpy, (char *s1, const char *s2, size_t n));
14 _PROTOTYPE(char *strcat, (char *s1, const char *s2));
15 _PROTOTYPE(char *strncat, (char *s1, const char *s2, size_t n));
16 _PROTOTYPE(int strcmp, (const char *s1, const char *s2));
17 _PROTOTYPE(int strncmp, (const char *s1, const char *s2, size_t n));
18 _PROTOTYPE(_SIZET strlen, (const char *s));
19 _PROTOTYPE(char *strindex, (char *s, int c));
20 _PROTOTYPE(char *strrindex, (char *s, int c));
21 _PROTOTYPE(char *strzero, (char *s));
22 _PROTOTYPE(char *str2bts, (char *s, char *b, int *n));
23 _PROTOTYPE(char *long2str, (long l, int b));
24 _PROTOTYPE(long str2long, (char *s, int b));
25 _PROTOTYPE(char *btscpy, (char *s1, char *s2, int n));
26 _PROTOTYPE(char *btscat, (char *s1, int n1, char *s2, int n2));
27 _PROTOTYPE(int btscmp, (char *s1, int n1, char *s2, int n2));
28 _PROTOTYPE(char *btszero, (char *b, int n));
29 _PROTOTYPE(char *bts2str, (char *b, int n, char *s));
30
31 #endif /* __ACK_STRING_INCLUDED__ */