glibc/wcsmbs/wcsatcliff.c
Ulrich Drepper 9cc198f65b [BZ #4963]
* wcsmbs/wcsnlen.c: Don't reference before checking the length.
	* string/stratcliff.c: Make usable to test wide char functions.
	* wcsmbs/wcsatcliff.c: New file.
	* wcsmbs/Makefiel (tests): Add wcsatcliff.
2007-09-23 18:27:55 +00:00

21 lines
391 B
C

#include <wchar.h>
#define WCSTEST 1
#define L(c) L##c
#define CHAR wchar_t
#define MEMSET wmemset
#define STRLEN wcslen
#define STRNLEN wcsnlen
#define STRCHR wcschr
#define STRRCHR wcsrchr
#define STRCPY wcscpy
#define STRNCPY wcsncpy
#define MEMCMP wmemcmp
#define STPCPY wcpcpy
#define STPNCPY wcpncpy
#define MEMCPY wmemcpy
#define MEMPCPY wmempcpy
#include "../string/stratcliff.c"