Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

38 lines
529 B
C

// strings.h
// Copyright 2016 Robin.Rowe@CinePaint.org
// License open source MIT
#ifndef strings_h
#define strings_h
#include <string.h>
#include "../portable/stub.h"
#include "cfunc.h"
inline
int ffs(int i)
{ STUB_NEG(ffs);
}
inline
int ffsl(long int i)
{ STUB_NEG(ffsl);
}
inline
int ffsll(long long int i)
{ STUB_NEG(ffsll);
}
inline
int strcasecmp(const char *s1, const char *s2)
{ return stricmp(s1,s2);
}
inline
int strncasecmp(const char *s1, const char *s2, size_t n)
{ return strnicmp(s1,s2,n);
}
#endif