X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fwcstombs.c;fp=functions%2Fstdlib%2Fwcstombs.c;h=0000000000000000000000000000000000000000;hb=94cec7268060142c361c882c0a54d4b0052a591c;hp=dc964f7a320cc6aa444e0c9d197e53db5e846486;hpb=c8f799d852e3698468a78954d82588e841cc0b70;p=pdclib.old diff --git a/functions/stdlib/wcstombs.c b/functions/stdlib/wcstombs.c deleted file mode 100644 index dc964f7..0000000 --- a/functions/stdlib/wcstombs.c +++ /dev/null @@ -1,19 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * --------------------------------------------------------------------------*/ - -size_t wcstombs( char * restrict s, const wchar_t * restrict wcs, size_t n ) { /* TODO */ }; - -/* PDPC code - unreviewed -{ - strncpy(s, (const char *)pwcs, n); - if (strlen((const char *)pwcs) >= n) - { - return (n); - } - return (strlen(s)); -} -*/