Ruby: prism/util/pm_strncasecmp.h Source File

Ruby 3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)

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
30int pm_strncasecmp(const uint8_t *string1, const uint8_t *string2, size_t length);
31
32#endif
pm_strncasecmp
int pm_strncasecmp(const uint8_t *string1, const uint8_t *string2, size_t length)
Compare two strings, ignoring case, up to the given length.
Definition pm_strncasecmp.c:13
defines.h
Macro definitions used throughout the prism library.