diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 08:24:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 08:24:58 +0000 |
commit | 002e2dc42b80045459fdfe9864ff11adaeb0b0a9 (patch) | |
tree | 3465eba4f73252a3340fabba0e072ddd634816e8 /conform | |
parent | 9323b58f76b756cc41b6c39b48d42b697a1bd4ec (diff) | |
download | glibc-002e2dc42b80045459fdfe9864ff11adaeb0b0a9.zip glibc-002e2dc42b80045459fdfe9864ff11adaeb0b0a9.tar.gz glibc-002e2dc42b80045459fdfe9864ff11adaeb0b0a9.tar.bz2 |
Update.
2000-02-24 Ulrich Drepper <drepper@redhat.com>
* conform/conformtest.pl (@headers): Add string.h and strings.h.
* conform/data/string.h-data: New file.
* conform/data/strings.h-data: New file.
* string/string.h [__USE_XOPEN]: Don't declare functions from
<strings.h> here as well.
Diffstat (limited to 'conform')
-rw-r--r-- | conform/conformtest.pl | 2 | ||||
-rw-r--r-- | conform/data/string.h-data | 31 | ||||
-rw-r--r-- | conform/data/strings.h-data | 10 |
3 files changed, 42 insertions, 1 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 518122f..08b46c1 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -4,7 +4,7 @@ $CC = "gcc"; $CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=500"; # List of the headers we are testing. -@headers = ("stdlib.h", "stdio.h", +@headers = ("strings.h", "string.h", "stdlib.h", "stdio.h", "stddef.h", "stdarg.h", "signal.h", "setjmp.h", "semaphore.h", "search.h", "sched.h", "regex.h", "pwd.h", "pthread.h", "poll.h", "nl_types.h", "ndbm.h", "mqueue.h", "monetary.h", diff --git a/conform/data/string.h-data b/conform/data/string.h-data new file mode 100644 index 0000000..fe27c8a --- /dev/null +++ b/conform/data/string.h-data @@ -0,0 +1,31 @@ +constant NULL + +type size_t + +function {void*} memccpy (void*, const void*, int, size_t) +function {void*} memchr (const void*, int, size_t) +function int memcmp (const void*, const void*, size_t) +function {void*} memcpy (void*, const void*, size_t) +function {void*} memmove (void*, const void*, size_t) +function {void*} memset (void*, int, size_t) +function {char*} strcat (char*, const char*) +function {char*} strchr (const char*, int) +function int strcmp (const char*, const char*) +function int strcoll (const char*, const char*) +function {char*} strcpy (char*, const char*) +function size_t strcspn (const char*, const char*) +function {char*} strdup (const char*) +function {char*} strerror (int) +function size_t strlen (const char*) +function {char*} strncat (char*, const char*, size_t) +function int strncmp (const char*, const char*, size_t) +function {char*} strncpy (char*, const char*, size_t) +function {char*} strpbrk (const char*, const char*) +function {char*} strrchr (const char*, int) +function size_t strspn (const char*, const char*) +function {char*} strstr (const char*, const char*) +function {char*} strtok (char*, const char*) +function {char*} strtok_r (char*, const char*, char**) +function size_t strxfrm (char*, const char*, size_t) + +allow-header stddef.h diff --git a/conform/data/strings.h-data b/conform/data/strings.h-data new file mode 100644 index 0000000..7d7d67e --- /dev/null +++ b/conform/data/strings.h-data @@ -0,0 +1,10 @@ +function int bcmp (const void*, const void*, size_t) +function void bcopy (const void*, void*, size_t) +function void bzero (void*, size_t) +function int ffs (int) +function {char*} index (const char*, int) +function {char*} rindex (const char*, int) +function int strcasecmp (const char*, const char*) +function int strncasecmp (const char*, const char*, size_t) + +type size_t |