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