This is a minimal ANSI-conforming implementation of wctomb. The only "wide characters" recognized are single bytes, and they are "converted" to themselves.
Each call to wctomb copies the character wchar to *s, unless s is a null pointer.### Returns
This implementation of wctomb returns 0 if s is NULL; it returns 1 otherwise (reporting the length of the character "sequence" generated).
---
**Authoritative source**: BUSMASTER DITA help source `wctomb.dita`, compiled into `BUSMASTER.CHM` with the application.