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 WCSTOMBS

WCSTOMBS

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

NAME

wcstombs - convert a wide character string to a multibyte character string.  

SYNOPSIS

#include <stdlib.h>
size_t wcstombs(char *s, const wchar_t *pwcs, size_t n);
 

DESCRIPTION

The wcstombs() function converts a sequence of wide characters from the array pwcs into a sequence of multibyte characters and stores up to n bytes of multibyte characters in the array s.  

RETURN VALUE

wcstombs() returns the number of bytes stored in s or -1 if pwcs contains an invalid wide character.  

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