Ruby  3.4.0dev (2024-11-05 revision ed06f018bdffe9bb7f8bdbf15fa5a727e402bfe9)
pm_strncasecmp.h
Go to the documentation of this file.
1 
6 #ifndef PRISM_STRNCASECMP_H
7 #define PRISM_STRNCASECMP_H
8 
9 #include "prism/defines.h"
10 
11 #include <ctype.h>
12 #include <stddef.h>
13 #include <stdint.h>
14 
30 int pm_strncasecmp(const uint8_t *string1, const uint8_t *string2, size_t length);
31 
32 #endif
int pm_strncasecmp(const uint8_t *string1, const uint8_t *string2, size_t length)
Compare two strings, ignoring case, up to the given length.
Macro definitions used throughout the prism library.