Mercurial > hg > octave-nkf
diff liboctave/lo-cutils.c @ 6111:ed81d74118bb
[project @ 2006-10-27 02:43:23 by jwe]
author | jwe |
---|---|
date | Fri, 27 Oct 2006 02:43:24 +0000 |
parents | 143b556ce725 |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/liboctave/lo-cutils.c +++ b/liboctave/lo-cutils.c @@ -93,6 +93,18 @@ #endif OCTAVE_API int +octave_strcasecmp (const char *s1, const char *s2) +{ + return strcasecmp (s1, s2); +} + +OCTAVE_API int +octave_strncasecmp (const char *s1, const char *s2, size_t n) +{ + return strncasecmp (s1, s2, n); +} + +OCTAVE_API int octave_gethostname (char *name, int namelen) { return gethostname (name, namelen);