summaryrefslogtreecommitdiff
path: root/src/string
diff options
context:
space:
mode:
Diffstat (limited to 'src/string')
-rw-r--r--src/string/memccpy.c5
-rw-r--r--src/string/memchr.c5
-rw-r--r--src/string/memcmp.c5
-rw-r--r--src/string/memcpy.c5
-rw-r--r--src/string/memcpy_s.c5
-rw-r--r--src/string/memmove.c5
-rw-r--r--src/string/memmove_s.c5
-rw-r--r--src/string/memset.c5
-rw-r--r--src/string/memset_s.c5
-rw-r--r--src/string/strcat.c5
-rw-r--r--src/string/strcat_s.c5
-rw-r--r--src/string/strchr.c5
-rw-r--r--src/string/strcmp.c5
-rw-r--r--src/string/strcoll.c5
-rw-r--r--src/string/strcpy.c5
-rw-r--r--src/string/strcpy_s.c5
-rw-r--r--src/string/strcspn.c5
-rw-r--r--src/string/strdup.c5
-rw-r--r--src/string/strerror.c5
-rw-r--r--src/string/strerror_s.c5
-rw-r--r--src/string/strerrorlen_s.c5
-rw-r--r--src/string/strlen.c5
-rw-r--r--src/string/strncat.c5
-rw-r--r--src/string/strncat_s.c5
-rw-r--r--src/string/strncmp.c5
-rw-r--r--src/string/strncpy.c5
-rw-r--r--src/string/strncpy_s.c5
-rw-r--r--src/string/strnlen_s.c5
-rw-r--r--src/string/strpbrk.c5
-rw-r--r--src/string/strrchr.c5
-rw-r--r--src/string/strspn.c5
-rw-r--r--src/string/strstr.c5
-rw-r--r--src/string/strtok.c5
-rw-r--r--src/string/strtok_s.c5
-rw-r--r--src/string/strxfrm.c5
35 files changed, 175 insertions, 0 deletions
diff --git a/src/string/memccpy.c b/src/string/memccpy.c
index b3af75ff..80143e32 100644
--- a/src/string/memccpy.c
+++ b/src/string/memccpy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n)
@@ -21,3 +23,6 @@ void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n)
/*
XOPEN(4)
*/
+
+
+#endif
diff --git a/src/string/memchr.c b/src/string/memchr.c
index f39ef6bc..97ef3c36 100644
--- a/src/string/memchr.c
+++ b/src/string/memchr.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -31,3 +33,6 @@ ARGUMENT(c) (converted to an TYPE(unsigned char)).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/memcmp.c b/src/string/memcmp.c
index d5d94bf0..d00093ea 100644
--- a/src/string/memcmp.c
+++ b/src/string/memcmp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -34,3 +36,6 @@ and ARGUMENT(s2).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/memcpy.c b/src/string/memcpy.c
index 69975605..7fda569e 100644
--- a/src/string/memcpy.c
+++ b/src/string/memcpy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -31,3 +33,6 @@ ARGUMENT(s1).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/memcpy_s.c b/src/string/memcpy_s.c
index 8bdee520..2d30921b 100644
--- a/src/string/memcpy_s.c
+++ b/src/string/memcpy_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -33,3 +35,6 @@ arg(s1).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/memmove.c b/src/string/memmove.c
index c9ae1245..371b0334 100644
--- a/src/string/memmove.c
+++ b/src/string/memmove.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -35,3 +37,6 @@ is copied so that the ARGUMENT(n) bytes are safely written to ARGUMENT(s1).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/memmove_s.c b/src/string/memmove_s.c
index 53e81b45..343a286d 100644
--- a/src/string/memmove_s.c
+++ b/src/string/memmove_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include <stdlib.h>
#include "_assert.h"
@@ -31,3 +33,6 @@ is copied so that the arg(n) bytes are safely written to arg(s1).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/memset.c b/src/string/memset.c
index 6991ba4e..774e4418 100644
--- a/src/string/memset.c
+++ b/src/string/memset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -28,3 +30,6 @@ the value ARGUMENT(c) (converted to an TYPE(unsigned char)).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/memset_s.c b/src/string/memset_s.c
index 661b8d8b..2784a7c9 100644
--- a/src/string/memset_s.c
+++ b/src/string/memset_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
/** fill memory **/
@@ -31,3 +33,6 @@ the value arg(c) (converted to an type(unsigned char)).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strcat.c b/src/string/strcat.c
index ef2fa413..1cc24d1f 100644
--- a/src/string/strcat.c
+++ b/src/string/strcat.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -29,3 +31,6 @@ null character of ARGUMENT(s1).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strcat_s.c b/src/string/strcat_s.c
index a8efb98f..7c820daf 100644
--- a/src/string/strcat_s.c
+++ b/src/string/strcat_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
/** concatenate strings **/
@@ -27,3 +29,6 @@ null character of arg(s1).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strchr.c b/src/string/strchr.c
index 9aa16001..274b55c5 100644
--- a/src/string/strchr.c
+++ b/src/string/strchr.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -22,3 +24,6 @@ ARGUMENT(c) (converted to a TYPE(char)).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strcmp.c b/src/string/strcmp.c
index e447eb31..55796651 100644
--- a/src/string/strcmp.c
+++ b/src/string/strcmp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -40,3 +42,6 @@ compares the strings at ARGUMENT(s1) and ARGUMENT(s2).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strcoll.c b/src/string/strcoll.c
index 875d990c..d894e011 100644
--- a/src/string/strcoll.c
+++ b/src/string/strcoll.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stdlib.h>
#include <string.h>
#include "_assert.h"
@@ -41,3 +43,6 @@ compares the collation values of the strings at ARGUMENT(s1) and ARGUMENT(s2).
LC_COLLATE
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strcpy.c b/src/string/strcpy.c
index b6e3ed11..cfe4fa43 100644
--- a/src/string/strcpy.c
+++ b/src/string/strcpy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -29,3 +31,6 @@ including the terminating CHAR(\0).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strcpy_s.c b/src/string/strcpy_s.c
index 5522fc26..bfad3189 100644
--- a/src/string/strcpy_s.c
+++ b/src/string/strcpy_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include <limits.h>
@@ -27,3 +29,6 @@ including the terminating char(\0).
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strcspn.c b/src/string/strcspn.c
index 58d3f33b..6dbcbdb0 100644
--- a/src/string/strcspn.c
+++ b/src/string/strcspn.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -28,3 +30,6 @@ the string ARGUMENT(s1) that are not in the string ARGUMENT(s2).
RETURN_ALWAYS(the number of non-matching characters);
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strdup.c b/src/string/strdup.c
index 3cbc1d69..7b97f75d 100644
--- a/src/string/strdup.c
+++ b/src/string/strdup.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include <stdlib.h>
@@ -15,3 +17,6 @@ char * strdup(const char *s)
XOPEN(400)
POSIX(200809)
*/
+
+
+#endif
diff --git a/src/string/strerror.c b/src/string/strerror.c
index a2d43f0c..bdb1df36 100644
--- a/src/string/strerror.c
+++ b/src/string/strerror.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
@@ -32,3 +34,6 @@ subsequent calls.
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strerror_s.c b/src/string/strerror_s.c
index c1e85cac..bffc2a5d 100644
--- a/src/string/strerror_s.c
+++ b/src/string/strerror_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include <errno.h>
#include "__strerror.h"
@@ -33,3 +35,6 @@ subsequent calls.
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strerrorlen_s.c b/src/string/strerrorlen_s.c
index 63eaaff6..0679dc2f 100644
--- a/src/string/strerrorlen_s.c
+++ b/src/string/strerrorlen_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
size_t strerrorlen_s(errno_t errnum)
@@ -11,3 +13,6 @@ size_t strerrorlen_s(errno_t errnum)
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strlen.c b/src/string/strlen.c
index 5425970b..e083012f 100644
--- a/src/string/strlen.c
+++ b/src/string/strlen.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -24,3 +26,6 @@ including the terminating null character.
RETURN_ALWAYS(the length of the string);
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strncat.c b/src/string/strncat.c
index cd3c8efc..3e51cbca 100644
--- a/src/string/strncat.c
+++ b/src/string/strncat.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -40,3 +42,6 @@ terminated.
RETURN_ALWAYS(ARGUMENT(s1));
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strncat_s.c b/src/string/strncat_s.c
index cbada131..fa68151c 100644
--- a/src/string/strncat_s.c
+++ b/src/string/strncat_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
/** concatenate bounded string **/
@@ -42,3 +44,6 @@ terminated.
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strncmp.c b/src/string/strncmp.c
index e5d92e3e..30e83aa8 100644
--- a/src/string/strncmp.c
+++ b/src/string/strncmp.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -31,3 +33,6 @@ ARGUMENT(s2), or until the first CHAR(\0), whichever comes first.
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index b714f0cf..0bea303a 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -34,3 +36,6 @@ terminated.
RETURN_ALWAYS(ARGUMENT(s1));
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strncpy_s.c b/src/string/strncpy_s.c
index a228f360..2dd2cfdb 100644
--- a/src/string/strncpy_s.c
+++ b/src/string/strncpy_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
/** copy bounded string **/
@@ -41,3 +43,6 @@ terminated.
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strnlen_s.c b/src/string/strnlen_s.c
index 9862974f..f46ddcb2 100644
--- a/src/string/strnlen_s.c
+++ b/src/string/strnlen_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
size_t strnlen_s(const char *s, size_t maxsize)
@@ -15,3 +17,6 @@ size_t strnlen_s(const char *s, size_t maxsize)
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strpbrk.c b/src/string/strpbrk.c
index 9ad6a5ff..4b99b623 100644
--- a/src/string/strpbrk.c
+++ b/src/string/strpbrk.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -28,3 +30,6 @@ RETURN_FAILURE(CONSTANT(NULL));
RETURN_SUCCESS(a pointer to the located character);
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strrchr.c b/src/string/strrchr.c
index 8b033596..c85cb046 100644
--- a/src/string/strrchr.c
+++ b/src/string/strrchr.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -30,3 +32,6 @@ string ARGUMENT(s).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strspn.c b/src/string/strspn.c
index 098ea8d0..9762d953 100644
--- a/src/string/strspn.c
+++ b/src/string/strspn.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -28,3 +30,6 @@ up of characters from ARGUMENT(s2).
RETURN_ALWAYS(the number of matching characters);
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strstr.c b/src/string/strstr.c
index d0f3551a..4a8d9767 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -37,3 +39,6 @@ character of ARGUMENT(s1).
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strtok.c b/src/string/strtok.c
index f6c340ef..e031e55a 100644
--- a/src/string/strtok.c
+++ b/src/string/strtok.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -36,3 +38,6 @@ CHAR(\0), terminating the token.
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/string/strtok_s.c b/src/string/strtok_s.c
index caeb4c6d..ef2c0075 100644
--- a/src/string/strtok_s.c
+++ b/src/string/strtok_s.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
char * strtok_s(char * restrict s1, rsize_t * restrict s1max, const char * restrict s2, char **restrict ptr)
@@ -23,3 +25,6 @@ char * strtok_s(char * restrict s1, rsize_t * restrict s1max, const char * restr
/*
CEXT1(201112)
*/
+
+
+#endif
diff --git a/src/string/strxfrm.c b/src/string/strxfrm.c
index c107d662..498e8e5c 100644
--- a/src/string/strxfrm.c
+++ b/src/string/strxfrm.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <string.h>
#include "_assert.h"
@@ -29,3 +31,6 @@ UNDEFINED(ARGUMENT(n) is not ZERO and ARGUMENT(s1) is CONSTANT(NULL))
RETURN_ALWAYS(the length of the transformed string, not including the terminating CHAR(\0));
STDC(1)
*/
+
+
+#endif