23 #if defined (HAVE_CONFIG_H) 34 int (*cmp) (
const void *,
const void *))
36 qsort (base, n, size, cmp);
42 return strcasecmp (s1,
s2);
48 return strncasecmp (s1,
s2, n);
OCTAVE_API int octave_strncasecmp(const char *s1, const char *s2, size_t n)
OCTAVE_API int octave_strcasecmp(const char *s1, const char *s2)
OCTAVE_API void octave_qsort(void *base, size_t n, size_t size, int(*cmp)(const void *, const void *))