X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fmincoll%2Fwcsxfrm.c;fp=opt%2Fmincoll%2Fwcsxfrm.c;h=0000000000000000000000000000000000000000;hp=6d1bd37d76cadcf44bfb0a9f62f085b70c8a7ee0;hb=522a5e059582a513f7af8e418a1e8611aafb3513;hpb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d diff --git a/opt/mincoll/wcsxfrm.c b/opt/mincoll/wcsxfrm.c deleted file mode 100644 index 6d1bd37..0000000 --- a/opt/mincoll/wcsxfrm.c +++ /dev/null @@ -1,28 +0,0 @@ -/* wcsxfrm( char *, const char *, size_t ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -#include - -#ifndef REGTEST - -/* See notes on wcscoll. */ -size_t wcsxfrm( wchar_t * _PDCLIB_restrict s1, const wchar_t * _PDCLIB_restrict s2, size_t n ) -{ - wcsncpy(s1, s2, n); - return wcslen(s2); -} - -#endif - -#ifdef TEST -#include "_PDCLIB_test.h" - -int main( void ) -{ - return TEST_RESULTS; -} -#endif -