]> git.zerfleddert.de Git - micropolis/blob - src/tcl/compat/string.h
Import Micropolis from http://www.donhopkins.com/home/micropolis/
[micropolis] / src / tcl / compat / string.h
1 /*
2 * string.h --
3 *
4 * Declarations of ANSI C library procedures for string handling.
5 *
6 * Copyright 1991 Regents of the University of California
7 * Permission to use, copy, modify, and distribute this
8 * software and its documentation for any purpose and without
9 * fee is hereby granted, provided that the above copyright
10 * notice appears in all copies. The University of California
11 * makes no representations about the suitability of this
12 * software for any purpose. It is provided "as is" without
13 * express or implied warranty.
14 *
15 * $Header: /sprite/src/lib/tcl/compat/RCS/string.h,v 1.1 91/09/19 16:22:11 ouster Exp $ SPRITE (Berkeley)
16 */
17
18 #ifndef _STRING
19 #define _STRING
20
21 #include <tcl.h>
22
23 extern char * memchr _ANSI_ARGS_((char *s, int c, int n));
24 #if 0
25 extern int memcmp _ANSI_ARGS_((char *s1, char *s2, int n));
26 extern char * memcpy _ANSI_ARGS_((char *t, char *f, int n));
27 #endif
28 extern char * memmove _ANSI_ARGS_((char *t, char *f, int n));
29 extern char * memset _ANSI_ARGS_((char *s, int c, int n));
30
31 extern int strcasecmp _ANSI_ARGS_((char *s1, char *s2));
32 extern char * strcat _ANSI_ARGS_((char *dst, char *src));
33 extern char * strchr _ANSI_ARGS_((char *string, int c));
34 #if 0
35 extern int strcmp _ANSI_ARGS_((char *s1, char *s2));
36 extern char * strcpy _ANSI_ARGS_((char *dst, char *src));
37 #endif
38 extern int strcspn _ANSI_ARGS_((char *string, char *chars));
39 extern char * strdup _ANSI_ARGS_((char *string));
40 extern char * strerror _ANSI_ARGS_((int error));
41 #if 0
42 extern int strlen _ANSI_ARGS_((char *string));
43 #endif
44 extern int strncasecmp _ANSI_ARGS_((char *s1, char *s2, int n));
45 extern char * strncat _ANSI_ARGS_((char *dst, char *src,
46 int numChars));
47 extern int strncmp _ANSI_ARGS_((char *s1, char *s2, int nChars));
48 extern char * strncpy _ANSI_ARGS_((char *dst, char *src,
49 int numChars));
50 extern char * strpbrk _ANSI_ARGS_((char *string, char *chars));
51 extern char * strrchr _ANSI_ARGS_((char *string, int c));
52 extern int strspn _ANSI_ARGS_((char *string, char *chars));
53 extern char * strstr _ANSI_ARGS_((char *string, char *substring));
54 extern char * strtok _ANSI_ARGS_((char *s, char *delim));
55
56 #endif /* _STRING */
Impressum, Datenschutz