ADD: case insensitive commands :) finally, you can write LF SEARCH ...

This commit is contained in:
iceman1001
2017-09-15 14:45:26 +02:00
parent 4e7c987cbd
commit 55a1ef1549
3 changed files with 94 additions and 90 deletions

View File

@@ -664,8 +664,7 @@ uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor) {
}
// determine number of logical CPU cores (use for multithreaded functions)
extern int num_CPUs(void)
{
extern int num_CPUs(void) {
#if defined(_WIN32)
#include <sysinfoapi.h>
SYSTEM_INFO sysinfo;
@@ -677,4 +676,9 @@ extern int num_CPUs(void)
#else
return 1;
#endif
}
extern void str_lower(char *s ){
for(int i=0; i < strlen(s); i++)
s[i] = tolower( s[i] );
}