Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (1182B)
---
1 GRAPHEME\_IS\_UPPERCASE(3) - Library Functions Manual
2
3 # NAME
4
5 **grapheme\_is\_uppercase** - check if codepoint array is uppercase
6
7 # SYNOPSIS
8
9 **#include <grapheme.h>**
10
11 *size\_t*
12 **grapheme\_is\_uppercase**(*const uint\_least32\_t \*str*, *size\_t len…
13
14 # DESCRIPTION
15
16 The
17 **grapheme\_is\_uppercase**()
18 function checks if the codepoint array
19 *str*
20 is uppercase and writes the length of the matching uppercase-sequence to…
21 *caselen*,
22 unless
23 *caselen*
24 is set to
25 `NULL`.
26
27 If
28 *len*
29 is set to
30 `SIZE_MAX`
31 (stdint.h is already included by grapheme.h) the codepoint array
32 *src*
33 is interpreted to be NUL-terminated and processing stops when a
34 NUL-byte is encountered.
35
36 For UTF-8-encoded input data
37 grapheme\_is\_uppercase\_utf8(3)
38 can be used instead.
39
40 # RETURN VALUES
41
42 The
43 **grapheme\_is\_uppercase**()
44 function returns
45 `true`
46 if the codepoint array
47 *str*
48 is uppercase, otherwise
49 `false`.
50
51 # SEE ALSO
52
53 grapheme\_is\_uppercase\_utf8(3),
54 libgrapheme(7)
55
56 # STANDARDS
57
58 **grapheme\_is\_uppercase**()
59 is compliant with the Unicode 15.0.0 specification.
60
61 # AUTHORS
62
63 Laslo Hunhold ([[email protected]](mailto:[email protected]))
64
65 suckless.org - 2022-10-06
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.