]>
cvs.zerfleddert.de Git - micropolis/blob - src/tcl/compat/string.h
4 * Declarations of ANSI C library procedures for string handling.
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.
15 * $Header: /sprite/src/lib/tcl/compat/RCS/string.h,v 1.1 91/09/19 16:22:11 ouster Exp $ SPRITE (Berkeley)
23 extern char * memchr
_ANSI_ARGS_((char *s
, int c
, int n
));
25 extern int memcmp
_ANSI_ARGS_((char *s1
, char *s2
, int n
));
26 extern char * memcpy
_ANSI_ARGS_((char *t
, char *f
, int n
));
28 extern char * memmove
_ANSI_ARGS_((char *t
, char *f
, int n
));
29 extern char * memset
_ANSI_ARGS_((char *s
, int c
, int n
));
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
));
35 extern int strcmp
_ANSI_ARGS_((char *s1
, char *s2
));
36 extern char * strcpy
_ANSI_ARGS_((char *dst
, char *src
));
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
));
42 extern int strlen
_ANSI_ARGS_((char *string
));
44 extern int strncasecmp
_ANSI_ARGS_((char *s1
, char *s2
, int n
));
45 extern char * strncat
_ANSI_ARGS_((char *dst
, char *src
,
47 extern int strncmp
_ANSI_ARGS_((char *s1
, char *s2
, int nChars
));
48 extern char * strncpy
_ANSI_ARGS_((char *dst
, char *src
,
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
));