X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fwctomb.c;h=450b242ce497640250f4fea45190f53ed0456631;hb=refs%2Ftags%2FOLD;hp=ba316219e7f7b517a7ccd7a28ff65f7463c3bd65;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;p=pdclib diff --git a/functions/stdlib/wctomb.c b/functions/stdlib/wctomb.c index ba31621..450b242 100644 --- a/functions/stdlib/wctomb.c +++ b/functions/stdlib/wctomb.c @@ -1,8 +1,22 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ int wctomb( char * s, wchar_t wchar ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + if (s != NULL) + { + *s = wchar; + return (1); + } + else + { + return (0); + } +} +*/