]> cvs.zerfleddert.de Git - micropolis/blame_incremental - src/tcl/compat/string.h
only swap bytes in mini map when needed
[micropolis] / src / tcl / compat / string.h
... / ...
CommitLineData
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
23extern char * memchr _ANSI_ARGS_((char *s, int c, int n));
24#if 0
25extern int memcmp _ANSI_ARGS_((char *s1, char *s2, int n));
26extern char * memcpy _ANSI_ARGS_((char *t, char *f, int n));
27#endif
28extern char * memmove _ANSI_ARGS_((char *t, char *f, int n));
29extern char * memset _ANSI_ARGS_((char *s, int c, int n));
30
31extern int strcasecmp _ANSI_ARGS_((char *s1, char *s2));
32extern char * strcat _ANSI_ARGS_((char *dst, char *src));
33extern char * strchr _ANSI_ARGS_((char *string, int c));
34#if 0
35extern int strcmp _ANSI_ARGS_((char *s1, char *s2));
36extern char * strcpy _ANSI_ARGS_((char *dst, char *src));
37#endif
38extern int strcspn _ANSI_ARGS_((char *string, char *chars));
39extern char * strdup _ANSI_ARGS_((char *string));
40extern char * strerror _ANSI_ARGS_((int error));
41#if 0
42extern int strlen _ANSI_ARGS_((char *string));
43#endif
44extern int strncasecmp _ANSI_ARGS_((char *s1, char *s2, int n));
45extern char * strncat _ANSI_ARGS_((char *dst, char *src,
46 int numChars));
47extern int strncmp _ANSI_ARGS_((char *s1, char *s2, int nChars));
48extern char * strncpy _ANSI_ARGS_((char *dst, char *src,
49 int numChars));
50extern char * strpbrk _ANSI_ARGS_((char *string, char *chars));
51extern char * strrchr _ANSI_ARGS_((char *string, int c));
52extern int strspn _ANSI_ARGS_((char *string, char *chars));
53extern char * strstr _ANSI_ARGS_((char *string, char *substring));
54extern char * strtok _ANSI_ARGS_((char *s, char *delim));
55
56#endif /* _STRING */
Impressum, Datenschutz