Blame man3/MB_CUR_MAX.3

Packit 7cfc04
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
Packit 7cfc04
.\"
Packit 7cfc04
.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
Packit 7cfc04
.\" This is free documentation; you can redistribute it and/or
Packit 7cfc04
.\" modify it under the terms of the GNU General Public License as
Packit 7cfc04
.\" published by the Free Software Foundation; either version 2 of
Packit 7cfc04
.\" the License, or (at your option) any later version.
Packit 7cfc04
.\" %%%LICENSE_END
Packit 7cfc04
.\"
Packit 7cfc04
.\" References consulted:
Packit 7cfc04
.\"   GNU glibc-2 source code and manual
Packit 7cfc04
.\"   Dinkumware C library reference http://www.dinkumware.com/
Packit 7cfc04
.\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
Packit 7cfc04
.\"
Packit 7cfc04
.\" Modified, aeb, 990824
Packit 7cfc04
.\"
Packit 7cfc04
.TH MB_CUR_MAX 3 2015-08-08 "Linux" "Linux Programmer's Manual"
Packit 7cfc04
.SH NAME
Packit 7cfc04
MB_CUR_MAX \- maximum length of a multibyte character in the current locale
Packit 7cfc04
.SH SYNOPSIS
Packit 7cfc04
.nf
Packit 7cfc04
.B #include <stdlib.h>
Packit 7cfc04
.fi
Packit 7cfc04
.SH DESCRIPTION
Packit 7cfc04
The
Packit 7cfc04
.B MB_CUR_MAX
Packit 7cfc04
macro defines an integer expression giving
Packit 7cfc04
the maximum number of bytes needed to represent a single
Packit 7cfc04
wide character in the current locale.
Packit 7cfc04
This value is locale dependent and therefore not a compile-time constant.
Packit 7cfc04
.SH RETURN VALUE
Packit 7cfc04
An integer in the range [1,
Packit 7cfc04
.BR MB_LEN_MAX ].
Packit 7cfc04
The value 1 denotes traditional 8-bit encoded characters.
Packit 7cfc04
.SH CONFORMING TO
Packit 7cfc04
POSIX.1-2001, POSIX.1-2008, C99.
Packit 7cfc04
.SH SEE ALSO
Packit 7cfc04
.BR MB_LEN_MAX (3),
Packit 7cfc04
.BR mblen (3),
Packit 7cfc04
.BR mbstowcs (3),
Packit 7cfc04
.BR mbtowc (3),
Packit 7cfc04
.BR wcstombs (3),
Packit 7cfc04
.BR wctomb (3)
Packit 7cfc04
.SH COLOPHON
Packit 7cfc04
This page is part of release 4.15 of the Linux
Packit 7cfc04
.I man-pages
Packit 7cfc04
project.
Packit 7cfc04
A description of the project,
Packit 7cfc04
information about reporting bugs,
Packit 7cfc04
and the latest version of this page,
Packit 7cfc04
can be found at
Packit 7cfc04
\%https://www.kernel.org/doc/man\-pages/.