Penguin
Annotated edit history of btowc(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 BTOWC
2 !!!BTOWC
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 NOTES
10 ----
11 !!NAME
12
13
14 btowc - convert single byte to wide character
15 !!SYNOPSIS
16
17
18 __#include
19 __ ''c''__);
20 __
21 !!DESCRIPTION
22
23
24 The __btowc__ function converts ''c'', interpreted as
25 a multibyte sequence of length 1, starting in the initial
26 shift state, to a wide character and returns it. If ''c''
27 is EOF or not a valid multibyte sequence of length 1, the
28 __btowc__ function returns WEOF.
29 !!RETURN VALUE
30
31
32 The __btowc__ function returns the wide character
33 converted from the single byte ''c''. If ''c'' is EOF
34 or not a valid multibyte sequence of length 1, it returns
35 WEOF.
36 !!CONFORMING TO
37
38
39 ISO/ANSI C, UNIX98
40 !!SEE ALSO
41
42
43 mbtowc(3)
44 !!NOTES
45
46
47 The behaviour of __btowc__ depends on the LC_CTYPE
48 category of the current locale.
49
50
51 This function should never be used. It does not work for
52 encodings which have state, and unnecessarily treats single
53 bytes differently from multibyte sequences. Use the function
54 __mbtowc__ instead.
55 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.