ruby/yarp/missing.h
Jemma Issroff cc7f765f2c [Feature #19741] Sync all files in yarp
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:

* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
2023-06-21 11:25:39 -07:00

20 lines
397 B
C

#ifndef YARP_MISSING_H
#define YARP_MISSING_H
#include "yarp/defines.h"
#include <ctype.h>
#include <stddef.h>
#include <string.h>
const char * yp_strnstr(const char *haystack, const char *needle, size_t length);
int yp_strncasecmp(const char *string1, const char *string2, size_t length);
#ifndef HAVE_STRNCASECMP
#ifndef strncasecmp
#define strncasecmp yp_strncasecmp
#endif
#endif
#endif