Scroll Down to See All▾
abortabsacosasctimeasctime_rasinassertatanatan2atexitatofatoiatolbsearchcalloccatclosecatgetscatopenceilclearerrclockcoscoshctimectime_rdifftimediverferfcexitexpfabsfclosefdopenfeofferrorfflushfgetcfgetposfgetsfgetwcfgetwsfopenfprintffputcfputwsfreadfreefreopenfrexpfscanffseekfsetposftellfwidefwprintffwritefwscanfgetcgetchargetenvgetwcgetwchargmtimegmtime_rhypotisalnumisalphaisasciiisblankiscntrlisdigitisgraphislowerisprintispunctisspaceisupperiswalnumiswalphaiswblankiswcntrliswctypeiswdigitiswgraphiswloweriswprintiswpunctiswspaceiswupperiswxdigitisxdigitj0j1jnlabsldexpldivlocaleconvlocaltimelocaltime_rloglog10longjmpmallocmblenmbrlenmbrtowcmbsinitmbsrtowcsmbstowcsmbtowcmemchrmemcmpmemcpymemmovememsetmktimemodfnextafternextafterlnexttowardnexttowardlnl_langinfoperrorpowprintfputcputcharputenvputsputwcputwcharqsortquantexpd32quantexpd64quantexpd128quantized32quantized64quantized128samequantumd32raiserandrand_rreallocregcompregerrorregexecregfreeremoverenamerewindscanfsetbufsetjmpsetlocalesetvbufsignalsinsinhsnprintfsprintfsqrtsrandsscanfstrcasecmpstrcatstrchrstrcmpstrcollstrcpystrcspnstrerrorstrfmonstrftimestrlenstrncasecmpstrncatstrncmpstrncpystrpbrkstrptimestrrchrstrspnstrstrstrtodstrtod32strtod64strtod128strtofstrtokstrtok_rstrtolstrtoldstrtoulstrxfrmswprintfswscanfsystemtantanhtimetime64tmpfiletmpnamtoasciitolowertouppertowctranstowlowertowupperungetcungetwcva_argva_copyva_endva_startvfprintfvfscanfvfwprintfvfwscanfvprintfvscanfvsprintfvsnprintfvsscanfvswprintfvswscanfvwprintfvwscanfwcrtombwcscatwcschrwcscmpwcscollwcscpywcscpywcsftimewcslenwcsncatwcsncmpwcsncpywcspbrkwcsptimewcsrchrwcsrtombswcsspnwcsstrwcstodwcstod32wcstod64wcstod128wcstofwcstokwcstolwcstoldwcstombswcstoulwcsxfrmwctobwctombwctranswctypewcwidthwmemchrwmemcmpwmemcpywmemmovewmemsetwprintfwscanfy0y1ynFunction Details : btowc
wint_tbtowc(int c) ;
Return Type : wint_t
An integer type capable of storing any wide character value or the special value WEOF, used in wide-character input/output functions.
Read about return values of btowc function .
1st Parameter Type : int
Integer type (typically 4 bytes, -2,147,483,648 to 2,147,483,647)
1st Parameter
A single-byte character to be converted to a wide character, or EOF
Read more about parameters of btowc in parameters section
The btowcfunction in C language Converts a single-byte character to a wide character.
The btowc function determines the wide character corresponding to c, if c is a valid single-byte character in the initial shift state. This function is useful when working with mixed single-byte and wide character strings. It's important to note that this function is affected by the LC_CTYPE category of the current locale.
The btowcfunction takes 1
parameter:Converts a single-byte character to a wide character. If the input character is valid, the corresponding wide character is returned. If the input is EOF or invalid, `WEOF` is returned.
- •int `c`: A single-byte character to be converted to a wide character, or EOF
The btowc function return value :
- Returns the wide character corresponding to c if c is a valid single-byte character in the initial shift state
- If c is EOF or if c is not a valid single-byte character in the initial shift state, the function returns WEOF
Output
This example demonstrates the basic usage of the `btowc` function to convert a single-byte character 'A' to its wide character equivalent.