Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of WCTOMB

WCTOMB

Section: Linux Programmer's Manual (3)
Updated: March 29, 2025
Index  

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

This document was created by using the manual pages.
Time: 11:58:07 GMT, March 24, 2025

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat