2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH wctob 3 (date) "Linux man-pages (unreleased)"
14 wctob \- try to represent a wide character as a single byte
17 .RI ( libc ", " \-lc )
22 .BI "int wctob(wint_t " c );
27 function tests whether
28 the multibyte representation of the
31 starting in the initial state, consists of a single
33 If so, it is returned as an
36 Never use this function.
37 It cannot help you in writing internationalized
39 Internationalized programs must never distinguish single-byte and
44 function returns the single-byte representation of
50 For an explanation of the terms used in this section, see
56 Interface Attribute Value
61 T} Thread safety MT-Safe
76 This function should never be used.
77 Internationalized programs must never
78 distinguish single-byte and multibyte characters.