]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/wctomb.c
Re-import from Subversion.
[pdclib] / functions / stdlib / wctomb.c
index ba316219e7f7b517a7ccd7a28ff65f7463c3bd65..450b242ce497640250f4fea45190f53ed0456631 100644 (file)
@@ -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);
+    }
+}
+*/