1
0
mirror of https://github.com/simh/simh.git synced 2026-05-05 15:33:34 +00:00

SCP: Add sim_strncasecmp for platforms which may not have strncasecmp

Consolidated the existing two previously implementations which existed in
sim_serial and sim_ether.
This commit is contained in:
Mark Pizzolato
2016-07-12 09:23:46 -07:00
parent 052fafc62e
commit 4065f47f8c
4 changed files with 28 additions and 48 deletions

1
scp.h
View File

@@ -148,6 +148,7 @@ int sim_isprint (char c);
int sim_isdigit (char c);
int sim_isgraph (char c);
int sim_isalnum (char c);
int sim_strncasecmp (const char* string1, const char* string2, size_t len);
CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st);
CONST char *get_glyph (const char *iptr, char *optr, char mchar);
CONST char *get_glyph_nc (const char *iptr, char *optr, char mchar);