summaryrefslogtreecommitdiffstats
path: root/tcl8.6/compat/string.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-10-17 19:50:58 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-10-17 19:50:58 (GMT)
commit9b7a6c3507ea3383c60aaecb29f873c9b590ccca (patch)
tree82ce31ebd8f46803d969034f5aa3db8d7974493c /tcl8.6/compat/string.h
parent87fca7325b97005eb44dcf3e198277640af66115 (diff)
downloadblt-9b7a6c3507ea3383c60aaecb29f873c9b590ccca.zip
blt-9b7a6c3507ea3383c60aaecb29f873c9b590ccca.tar.gz
blt-9b7a6c3507ea3383c60aaecb29f873c9b590ccca.tar.bz2
rm tcl/tk 8.6.7
Diffstat (limited to 'tcl8.6/compat/string.h')
-rw-r--r--tcl8.6/compat/string.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/tcl8.6/compat/string.h b/tcl8.6/compat/string.h
deleted file mode 100644
index 42be10c..0000000
--- a/tcl8.6/compat/string.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * string.h --
- *
- * Declarations of ANSI C library procedures for string handling.
- *
- * Copyright (c) 1991-1993 The Regents of the University of California.
- * Copyright (c) 1994-1996 Sun Microsystems, Inc.
- *
- * See the file "license.terms" for information on usage and redistribution of
- * this file, and for a DISCLAIMER OF ALL WARRANTIES.
- */
-
-#ifndef _STRING
-#define _STRING
-
-/*
- * The following #include is needed to define size_t. (This used to include
- * sys/stdtypes.h but that doesn't exist on older versions of SunOS, e.g.
- * 4.0.2, so I'm trying sys/types.h now.... hopefully it exists everywhere)
- */
-
-#include <sys/types.h>
-
-#ifdef __APPLE__
-extern void * memchr(const void *s, int c, size_t n);
-#else
-extern char * memchr(const void *s, int c, size_t n);
-#endif
-extern int memcmp(const void *s1, const void *s2, size_t n);
-extern char * memcpy(void *t, const void *f, size_t n);
-#ifdef NO_MEMMOVE
-#define memmove(d,s,n) (bcopy((s), (d), (n)))
-#else
-extern char * memmove(void *t, const void *f, size_t n);
-#endif
-extern char * memset(void *s, int c, size_t n);
-
-extern int strcasecmp(const char *s1, const char *s2);
-extern char * strcat(char *dst, const char *src);
-extern char * strchr(const char *string, int c);
-extern int strcmp(const char *s1, const char *s2);
-extern char * strcpy(char *dst, const char *src);
-extern size_t strcspn(const char *string, const char *chars);
-extern char * strdup(const char *string);
-extern char * strerror(int error);
-extern size_t strlen(const char *string);
-extern int strncasecmp(const char *s1, const char *s2, size_t n);
-extern char * strncat(char *dst, const char *src, size_t numChars);
-extern int strncmp(const char *s1, const char *s2, size_t nChars);
-extern char * strncpy(char *dst, const char *src, size_t numChars);
-extern char * strpbrk(const char *string, const char *chars);
-extern char * strrchr(const char *string, int c);
-extern size_t strspn(const char *string, const char *chars);
-extern char * strstr(const char *string, const char *substring);
-extern char * strtok(char *s, const char *delim);
-
-#endif /* _STRING */