X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fwctomb.c;h=94e63672cabc63e59fedad4df0e1ff3e58de1a74;hp=ba316219e7f7b517a7ccd7a28ff65f7463c3bd65;hb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdlib/wctomb.c b/functions/stdlib/wctomb.c index ba31621..94e6367 100644 --- a/functions/stdlib/wctomb.c +++ b/functions/stdlib/wctomb.c @@ -6,3 +6,17 @@ // ---------------------------------------------------------------------------- int wctomb( char * s, wchar_t wchar ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + if (s != NULL) + { + *s = wchar; + return (1); + } + else + { + return (0); + } +} +*/