www.delorie.com/djgpp/doc/libc-2.01/libc_680.html   search  
Go to the first, previous, next, last section, table of contents.


wctomb

Syntax

#include <stdlib.h>

int wctomb(char *s, wchar_t wchar);

Description

Convert a wide character to a multibyte character. The string s must be at least MB_LEN_MAX bytes long.

Return Value

The number of characters stored.

Example

char s[MB_LEN_MAX];
int mlen = wctomb(s, wc);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997