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


wcstombs

Syntax

#include <stdlib.h>

size_t wcstombs(char *s, const wchar_t *wcs, size_t n);

Description

Converts a wide character string to a multibyte string. At most n characters are stored.

Return Value

The number of characters stored.

Example

int len = wcstombs(buf, wstring, sizeof(buf));


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

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