1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .TH WCTOB 3 2021-03-22 "GNU" "Linux Programmer's Manual"
18 wctob \- try to represent a wide character as a single byte
23 .BI "int wctob(wint_t " c );
28 function tests whether
29 the multibyte representation of the
32 starting in the initial state, consists of a single
34 If so, it is returned as an
37 Never use this function.
38 It cannot help you in writing internationalized
40 Internationalized programs must never distinguish single-byte and
45 function returns the single-byte representation of
51 For an explanation of the terms used in this section, see
59 Interface Attribute Value
62 T} Thread safety MT-Safe
68 POSIX.1-2001, POSIX.1-2008, C99.
77 This function should never be used.
78 Internationalized programs must never
79 distinguish single-byte and multibyte characters.