summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2022-12-24 21:05:09 +0000
committerJames E Keenan <jkeenan@cpan.org>2022-12-29 09:39:58 -0500
commita03103f8c76de0afbe666957c369340025e12c77 (patch)
tree175af402358fdd5656f985db6df27460a77f9f51 /handy.h
parent0c6362adf0496a5a25d8b78534541f988ac9ce16 (diff)
downloadperl-a03103f8c76de0afbe666957c369340025e12c77.tar.gz
handy.h: Manual correction of typos from GH 20435
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/handy.h b/handy.h
index 3c308c3f02..41e3465d01 100644
--- a/handy.h
+++ b/handy.h
@@ -645,7 +645,7 @@ C<l1> gives the number of bytes in C<s1>.
Returns true or false.
=for apidoc Am|bool|memCHRs|"list"|char c
-Returns the position of the first occurence of the byte C<c> in the literal
+Returns the position of the first occurrence of the byte C<c> in the literal
string C<"list">, or NULL if C<c> doesn't appear in C<"list">. All bytes are
treated as unsigned char. Thus this macro can be used to determine if C<c> is
in a set of particular characters. Unlike L<strchr(3)>, it works even if C<c>
@@ -2044,7 +2044,7 @@ END_EXTERN_C
* has names like isALPHA_LC. They deal with larger-than-byte inputs, and
* UTF-8 locales.
*
- * (Note, proper general operation of the bare libc functons requires you to
+ * (Note, proper general operation of the bare libc functions requires you to
* cast to U8. These do that for you automatically.) */
# define WRAP_U8_LC_(c, classnum, posix) posix(c)