Annotated edit history of
wctob(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
WCTOB |
|
|
2 |
!!!WCTOB |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
NOTES |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
wctob - try to represent a wide character as a single byte |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include |
|
|
19 |
__ ''c''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The __wctob__ function tests whether the multi-byte |
|
|
25 |
representation of the wide character ''c'', starting in |
|
|
26 |
the initial state, consists of a single byte. If so, it is |
|
|
27 |
returned as an unsigned char. |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
Never use this function. It cannot help you in writing |
|
|
31 |
internationalized programs. Internationalized programs must |
|
|
32 |
never distinguish single-byte and multi-byte |
|
|
33 |
characters. |
|
|
34 |
!!RETURN VALUE |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
The __wctob__ function returns the single-byte |
|
|
38 |
representation of ''c'', if it exists, of EOF |
|
|
39 |
otherwise. |
|
|
40 |
!!CONFORMING TO |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
ISO/ANSI C, UNIX98 |
|
|
44 |
!!SEE ALSO |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
wctomb(3) |
|
|
48 |
!!NOTES |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
The behaviour of __wctob__ depends on the LC_CTYPE |
|
|
52 |
category of the current locale. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
This function should never be used. Internationalized |
|
|
56 |
programs must never distinguish single-byte and multi-byte |
|
|
57 |
characters. Use the function __wctomb__ |
|
|
58 |
instead. |
|
|
59 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.