Mercurial > hg > octave-nkf
diff src/cutils.c @ 3350:729ad2b6a052
[project @ 1999-11-12 16:18:16 by jwe]
author | jwe |
---|---|
date | Fri, 12 Nov 1999 16:18:17 +0000 |
parents | f38b5d63d02d |
children | 0886bbb236cb |
line wrap: on
line diff
--- a/src/cutils.c +++ b/src/cutils.c @@ -39,6 +39,8 @@ #include <sys/poll.h> #endif +#include <string.h> + static void do_octave_usleep (unsigned int useconds) { @@ -78,6 +80,18 @@ do_octave_usleep (usec); } +int +octave_strcasecmp (const char *s1, const char *s2) +{ + return strcasecmp (s1, s2); +} + +int +octave_strncasecmp (const char *s1, const char *s2, size_t n) +{ + return strncasecmp (s1, s2, n); +} + /* ;;; Local Variables: *** ;;; mode: C++ ***