WCTOMB

Section: Linux Programmer's Manual (3)
Updated: March 29, 1993
Index Return to Main Contents
 

NAME

wctomb - convert a wide character to a multibyte character.  

SYNOPSIS

#include <stdlib.h>

int wctomb(char *s, wchar_t wchar);
 

DESCRIPTION

The wctomb() function converts a wide character wchar into a multibyte character and, if s is not NULL, stores the multibyte character representation in s.  

RETURN VALUE

wctomb() returns the number of bytes in the multibyte character or -1 if the wide character is not valid.  

CONFORMING TO

SVID 3, ISO 9899  

SEE ALSO

mblen(3), mbstowcs(3), mbtowc(3), wcstombs(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 12:23:36 GMT, March 22, 2025