1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .TH WCTOB 3 2011-09-22 "GNU" "Linux Programmer's Manual"
16 wctob \- try to represent a wide character as a single byte
21 .BI "int wctob(wint_t " c );
26 function tests whether
27 the multibyte representation of the
28 wide character \fIc\fP, starting in the initial state, consists of a single
30 If so, it is returned as an
33 Never use this function.
34 It cannot help you in writing internationalized
36 Internationalized programs must never distinguish single-byte and
41 function returns the single-byte representation of \fIc\fP,
42 if it exists, of \fBEOF\fP otherwise.
53 This function should never be used.
54 Internationalized programs must never
55 distinguish single-byte and multibyte characters.