summaryrefslogtreecommitdiffstats
path: root/man3/iswpunct.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/iswpunct.3')
-rw-r--r--man3/iswpunct.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/iswpunct.3 b/man3/iswpunct.3
index b3b9f57..6e74b60 100644
--- a/man3/iswpunct.3
+++ b/man3/iswpunct.3
@@ -9,7 +9,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH iswpunct 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH iswpunct 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
iswpunct \- test for punctuation or symbolic wide character
.SH LIBRARY
@@ -18,7 +18,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <wctype.h>
-.PP
+.P
.BI "int iswpunct(wint_t " wc );
.fi
.SH DESCRIPTION
@@ -31,18 +31,18 @@ It tests whether
.I wc
is a wide character
belonging to the wide-character class "punct".
-.PP
+.P
The wide-character class "punct" is a subclass of the wide-character class
"graph", and therefore also a subclass of the wide-character class "print".
-.PP
+.P
The wide-character class "punct" is disjoint from the wide-character class
"alnum" and therefore also disjoint from its subclasses "alpha", "upper",
"lower", "digit", "xdigit".
-.PP
+.P
Being a subclass of the wide-character class "print",
the wide-character class
"punct" is disjoint from the wide-character class "cntrl".
-.PP
+.P
Being a subclass of the wide-character class "graph",
the wide-character class
"punct" is disjoint from the wide-character class "space" and its subclass
@@ -70,7 +70,6 @@ T{
.BR iswpunct ()
T} Thread safety MT-Safe locale
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY
@@ -82,7 +81,7 @@ depends on the
.B LC_CTYPE
category of the
current locale.
-.PP
+.P
This function's name is a misnomer when dealing with Unicode characters,
because the wide-character class "punct" contains both punctuation characters
and symbol (math, currency, etc.) characters.