diff options
author | David McCullough <davidm@snapgear.com> | 2001-07-04 11:29:02 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2001-07-04 11:29:02 +0000 |
commit | f5fc8d4321de6a8cd913bafde705993d96a5e820 (patch) | |
tree | 089bb21da63f63a76a4534cbc040aea854d10cb1 /include | |
parent | 0d85794e9b8a873a44a373d4936c5c26e1a574c9 (diff) |
Added stpcpy and strcasestr along with some code to test them.
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index d449f0bda..939b1a4b5 100644 --- a/include/string.h +++ b/include/string.h @@ -19,6 +19,8 @@ extern char *strncat __P ((char *__restrict __dest, /* Copy SRC to DEST. */ extern char *strcpy __P ((char *__restrict __dest, __const char *__restrict __src)); +extern char *stpcpy __P ((char *__restrict __dest, + __const char *__restrict __src)); /* Copy no more than N characters of SRC to DEST. */ extern char *strncpy __P ((char *__restrict __dest, __const char *__restrict __src, size_t __n)); @@ -90,6 +92,7 @@ extern char *strsep __P ((char **__restrict __stringp, __const char *__restrict __delim)); /* Find the first occurrence of NEEDLE in HAYSTACK. */ extern char *strstr __P ((__const char *__haystack, __const char *__needle)); +extern char *strcasestr __P((__const char *__haystack, __const char *__needle)); /* Divide S into tokens separated by characters in DELIM. */ extern char *strtok __P ((char *__restrict __s, __const char *__restrict __delim)); |