Mbrtowc: Difference between revisions
Appearance
Content deleted Content added
this is a man-page for a software call, it's kind of hard not to match strings for usage, so no G12, but I have my doubts as to whether this topic qualifies as an encyclopedia article |
←Blanked the page |
||
Line 1: | Line 1: | ||
{{deadend|date=September 2011}} |
|||
==mbrtowc()== |
|||
====convert multibyte character to wide character using conversion states==== |
|||
===Function=== |
|||
<br /> |
|||
====SYNOPSIS==== |
|||
<nowiki>#</nowiki>include <wchar.h><br /> |
|||
size_t mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);<br /> |
|||
[[Category:C standard library]] |
|||
<br /> |
|||
=====mbrtowc function as follows:===== |
|||
<br /> |
|||
Let us consider s is a Null pointer. Then mbrtowc function can be called as:<br /> |
|||
mbrtowc(NULL, "", 1, ps);<br /> |
|||
Here value of pwc and n is ignored.<br /> |