Computer Science


WCTOMB(3)           Linux Programmer's Manual           WCTOMB(3)

NAME
       wctomb  -  convert a wide character to a multibyte charac-
       ter.

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)

GNU                       March 29, 1993                        1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page