new: iswalpha.3 (and friends)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



note: This is a resend, the first version vanished somewhere.

hi list,
i noticed that some locale(7) functions missing am propper man page.
that page describes several functions like:
iswalnum_l,  iswalpha_l,  iswblank_l,  iswcntrl_l,  iswdigit_l,
iswgraph_l, islwower_l, iswprint_l, iswpunct_l, iswspace_l,
iswupper_l, iswxdigit_l

re,
 wh
.\" Copyright (c) 2013 by Walter Harms
.\"
.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
.\"
.TH ISWALPHA_L 3 2013-09-20 "GNU" "Linux Programmer's Manual"
.SH NAME
iswalnum_l, iswalpha_l, iswblank_l, iswcntrl_l, iswdigit_l, iswgraph_l, islwower_l,
iswprint_l, iswpunct_l, iswspace_l, iswupper_l, iswxdigit_l \- character
classification routines
.SH SYNOPSIS
.nf
.B #include <wchar.h>
.sp
.BI "int isalnum_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isalpha_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isascii_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isblank_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int iscntrl_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isdigit_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isgraph_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int islower_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isprint_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int ispunct_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isspace_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isupper_l(wchar_t " "c" ", locale_t " loc );
.br
.BI "int isxdigit_l(wchar_t " "c" ", locale_t " loc );
.fi
.sp
.SH DESCRIPTION
These functions check whether
.IR c ,
which must have the value of an
.I wchar_t
and falls into a certain character class according to the defined locale
.IR locale_t .
.SH CONFORMING TO
POSIX.1-2008 specifies all of these functions.
.SH NOTES
The details of what characters belong into which class depend on the current
locale.
.sp
from 
.IR locale.h :
The concept of one static locale per category is not very well
thought out.  Many applications will need to process its data using
information from several different locales.  Another application is
the implementation of the internationalization handling in the
upcoming ISO C++ standard library.  To support this another set of
the functions using locale data exist which have an additional
argument.

For example,
.BR isupper ()
will not recognize an A-umlaut (\(:A) as an uppercase letter in the default
.B "C"
locale.

.SH SEE ALSO
.BR iswalnum (3),
.BR iswalpha (3),
.BR iswblank (3),
.BR iswcntrl (3),
.BR iswdigit (3),
.BR iswgraph (3),
.BR iswlower (3),
.BR iswprint (3),
.BR iswpunct (3),
.BR iswspace (3),
.BR iswupper (3),
.BR iswxdigit (3),
.BR setlocale (3),
.BR toascii (3),
.BR tolower (3),
.BR toupper (3),
.BR ascii (7),
.BR locale (7)
.SH COLOPHON
This page is part of release 3.54 of the Linux
.I man-pages
project.
A description of the project,
and information about reporting bugs,
can be found at
\%http://www.kernel.org/doc/man\-pages/.

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux