.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified Sat Jul 24 19:10:00 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Sun Aug 21 17:51:50 1994 by Rik Faith (faith@cs.unc.edu) .\" Modified Sat Sep 2 21:52:01 1995 by Jim Van Zandt .\" Modified Mon May 27 22:55:26 1996 by Martin Schulze (joey@linux.de) .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH isalpha 3 "30. července 2023" "Linux man\-pages 6.05.01" .SH JMÉNO isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit, isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l, isgraph_l, islower_l, isprint_l, ispunct_l, isspace_l, isupper_l, isxdigit_l \- klasifikace znaků .SH KNIHOVNA Standardní knihovna C (\fIlibc\fP, \fI\-lc\fP) .SH POUŽITÍ .nf \fB#include \fP .PP \fBint isalnum(int \fP\fIc\fP\fB);\fP \fBint isalpha(int \fP\fIc\fP\fB);\fP \fBint iscntrl(int \fP\fIc\fP\fB);\fP \fBint isdigit(int \fP\fIc\fP\fB);\fP \fBint isgraph(int \fP\fIc\fP\fB);\fP \fBint islower(int \fP\fIc\fP\fB);\fP \fBint isprint(int \fP\fIc\fP\fB);\fP \fBint ispunct(int \fP\fIc\fP\fB);\fP \fBint isspace(int \fP\fIc\fP\fB);\fP \fBint isupper(int \fP\fIc\fP\fB);\fP \fBint isxdigit(int \fP\fIc\fP\fB);\fP .PP \fBint isascii(int \fP\fIc\fP\fB);\fP \fBint isblank(int \fP\fIc\fP\fB);\fP .PP \fBint isalnum_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isalpha_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isblank_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint iscntrl_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isdigit_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isgraph_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint islower_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isprint_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint ispunct_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isspace_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isupper_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP \fBint isxdigit_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP .PP \fBint isascii_l(int \fP\fIc\fP\fB, locale_t \fP\fIlocale\fP\fB);\fP .fi .PP .RS -4 Požaduje množinu testovacích maker pro glibc (viz \fBfeature_test_macros\fP(7)): .RE .ad l .PP \fBisascii\fP(): .nf _XOPEN_SOURCE || /* glibc >= 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _SVID_SOURCE .fi .PP \fBisblank\fP(): .nf _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L .fi .PP \fB\%salnum_l\fP(), \fB\%salpha_l\fP(), \fB\%sblank_l\fP(), \fB\%scntrl_l\fP(), \fB\%sdigit_l\fP(), \fB\%sgraph_l\fP(), \fB\%slower_l\fP(), \fB\%sprint_l\fP(), \fB\%spunct_l\fP(), \fB\%sspace_l\fP(), \fB\%supper_l\fP(), \fB\%sxdigit_l\fP(): .nf Od glibc 2.10: _XOPEN_SOURCE >= 700 Před glibc 2.10: _GNU_SOURCE .fi .PP \fBisascii_l\fP(): .nf Od glibc 2.10: _XOPEN_SOURCE >= 700 && (_SVID_SOURCE || _BSD_SOURCE) Před glibc 2.10: _GNU_SOURCE .fi .ad .SH POPIS These functions check whether \fIc\fP, which must have the value of an \fIunsigned char\fP or \fBEOF\fP, falls into a certain character class according to the specified locale. The functions without the "_l" suffix perform the check based on the current locale. .PP The functions with the "_l" suffix perform the check based on the locale specified by the locale object \fIlocale\fP. The behavior of these functions is undefined if \fIlocale\fP is the special locale object \fBLC_GLOBAL_LOCALE\fP (see \fBduplocale\fP(3)) or is not a valid locale object handle. .PP The list below explains the operation of the functions without the "_l" suffix; the functions with the "_l" suffix differ only in using the locale object \fIlocale\fP instead of the current locale. .TP \fBisalnum\fP() kontroluje, je\-li znak alfanumerický; je to ekvivalent testu \fB(isalpha(\fP\fIc\fP\fB) || isdigit(\fP\fIc\fP\fB))\fP. .TP \fBisalpha\fP() checks for an alphabetic character; in the standard \fB"C"\fP locale, it is equivalent to \fB(isupper(\fP\fIc\fP\fB) || islower(\fP\fIc\fP\fB))\fP. In some locales, there may be additional characters for which \fBisalpha\fP() is true\[em]letters which are neither uppercase nor lowercase. .TP \fBisascii\fP() kontroluje, je\-li \fIc\fP je 7\-bitová hodnota typu \fIunsigned char\fP, která je součástí sady znaků ASCII. .TP \fBisblank\fP() kontrola na prázdný znak; tedy na mezeru nebo tabulátor. .TP \fBiscntrl\fP() kontrola na řídící znak. .TP \fBisdigit\fP() kontrola na číslici (0 až 9). .TP \fBisgraph\fP() kontrola na jakýkoliv tisknutelný znak kromě mezery. .TP \fBislower\fP() kontrola na malé písmeno. .TP \fBisprint\fP() kontrola na jakýkoliv tisknutelný znak včetně mezery. .TP \fBispunct\fP() kontrola na tisknutelný znak různý od mezery nebo alfanumerického znaku. .TP \fBisspace\fP() checks for white\-space characters. In the \fB"C"\fP and \fB"POSIX"\fP locales, these are: space, form\-feed (\fB\[aq]\ef\[aq]\fP), newline (\fB\[aq]\en\[aq]\fP), carriage return (\fB\[aq]\er\[aq]\fP), horizontal tab (\fB\[aq]\et\[aq]\fP), and vertical tab (\fB\[aq]\ev\[aq]\fP). .TP \fBisupper\fP() kontrola na velké písmeno. .TP \fBisxdigit\fP() kontrola na šestnáctkovou číslici, tj. jednu z .br \fB0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F\fP. .SH "NÁVRATOVÉ HODNOTY" The values returned are nonzero if the character \fIc\fP falls into the tested class, and zero if not. .SH ATRIBUTY Vysvětlení pojmů použitých v této části viz \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Rozhraní Atribut Hodnota T{ .na .nh \fBisalnum\fP(), \fBisalpha\fP(), \fBisascii\fP(), \fBisblank\fP(), \fBiscntrl\fP(), \fBisdigit\fP(), \fBisgraph\fP(), \fBislower\fP(), \fBisprint\fP(), \fBispunct\fP(), \fBisspace\fP(), \fBisupper\fP(), \fBisxdigit\fP() T} Thread safety MT\-Safe .TE .sp 1 .\" FIXME: need a thread-safety statement about the *_l functions .SH STANDARDY .TP \fBisalnum\fP() .TQ \fBisalpha\fP() .TQ \fBiscntrl\fP() .TQ \fBisdigit\fP() .TQ \fBisgraph\fP() .TQ \fBislower\fP() .TQ \fBisprint\fP() .TQ \fBispunct\fP() .TQ \fBisspace\fP() .TQ \fBisupper\fP() .TQ \fBisxdigit\fP() .TQ \fBisblank\fP() C11, POSIX.1\-2008. .TP \fBisascii\fP() .TQ \fBisalnum_l\fP() .TQ \fBisalpha_l\fP() .TQ \fBisblank_l\fP() .TQ \fBiscntrl_l\fP() .TQ \fBisdigit_l\fP() .TQ \fBisgraph_l\fP() .TQ \fBislower_l\fP() .TQ \fBisprint_l\fP() .TQ \fBispunct_l\fP() .TQ \fBisspace_l\fP() .TQ \fBisupper_l\fP() .TQ \fBisxdigit_l\fP() POSIX.1\-2008. .TP \fBisascii_l\fP() GNU. .SH HISTORIE .TP \fBisalnum\fP() .TQ \fBisalpha\fP() .TQ \fBiscntrl\fP() .TQ \fBisdigit\fP() .TQ \fBisgraph\fP() .TQ \fBislower\fP() .TQ \fBisprint\fP() .TQ \fBispunct\fP() .TQ \fBisspace\fP() .TQ \fBisupper\fP() .TQ \fBisxdigit\fP() C89, POSIX.1\-2001. .TP \fBisblank\fP() C99, POSIX.1\-2001. .TP \fBisascii\fP() POSIX.1\-2001 (XSI). .IP POSIX.1\-2008 marks it as obsolete, noting that it cannot be used portably in a localized application. .TP \fBisalnum_l\fP() .TQ \fBisalpha_l\fP() .TQ \fBisblank_l\fP() .TQ \fBiscntrl_l\fP() .TQ \fBisdigit_l\fP() .TQ \fBisgraph_l\fP() .TQ \fBislower_l\fP() .TQ \fBisprint_l\fP() .TQ \fBispunct_l\fP() .TQ \fBisspace_l\fP() .TQ \fBisupper_l\fP() .TQ \fBisxdigit_l\fP() glibc 2.3. POSIX.1\-2008. .TP \fBisascii_l\fP() glibc 2.3. .SH CAVEATS The standards require that the argument \fIc\fP for these functions is either \fBEOF\fP or a value that is representable in the type \fIunsigned char\fP; otherwise, the behavior is undefined. If the argument \fIc\fP is of type \fIchar\fP, it must be cast to \fIunsigned char\fP, as in the following example: .PP .in +4n .EX char c; \&... res = toupper((unsigned char) c); .EE .in .PP This is necessary because \fIchar\fP may be the equivalent of \fIsigned char\fP, in which case a byte where the top bit is set would be sign extended when converting to \fIint\fP, yielding a value that is outside the range of \fIunsigned char\fP. .PP The details of what characters belong to which class depend on the locale. For example, \fBisupper\fP() will not recognize an A\-umlaut (\(:A) as an uppercase letter in the default \fBC\fP locale. .SH "DALŠÍ INFORMACE" \fBiswalnum\fP(3), \fBiswalpha\fP(3), \fBiswblank\fP(3), \fBiswcntrl\fP(3), \fBiswdigit\fP(3), \fBiswgraph\fP(3), \fBiswlower\fP(3), \fBiswprint\fP(3), \fBiswpunct\fP(3), \fBiswspace\fP(3), \fBiswupper\fP(3), \fBiswxdigit\fP(3), \fBnewlocale\fP(3), \fBsetlocale\fP(3), \fBtoascii\fP(3), \fBtolower\fP(3), \fBtoupper\fP(3), \fBuselocale\fP(3), \fBascii\fP(7), \fBlocale\fP(7) .PP .SH PŘEKLAD Překlad této příručky do španělštiny vytvořili Pavel Heimlich . .PP Tento překlad je bezplatná dokumentace; Přečtěte si .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE nebo novější ohledně podmínek autorských práv. Neexistuje ŽÁDNÁ ODPOVĚDNOST. .PP Pokud narazíte na nějaké chyby v překladu této příručky, pošlete e-mail na adresu .MT translation-team-cs@lists.sourceforge.net .ME .