| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
MBTOWCSection: Linux Programmer's Manual (3)Updated: March 29, 2025 Index NAMEmbtowc - convert a multibyte character to a wide character.SYNOPSIS#include <stdlib.h> int mbtowc(wchar_t *pwc, const char *s, size_t n); DESCRIPTIONThe mbtowc() function converts a multibyte character s, which is no longer than n bytes, into a wide character and, if pwc is not NULL, stores the wide character in pwc.RETURN VALUEmbtowc() returns the number of bytes in the multibyte character or -1 if the multibyte character is not valid.CONFORMING TOSVID 3, ISO 9899SEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:04 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |