Fast tolower() alike function that does not care about locale * but just returns a-z instead of A-Z. */
| 48 | /* Fast tolower() alike function that does not care about locale |
| 49 | * but just returns a-z instead of A-Z. */ |
| 50 | int siptlw(int c) { |
| 51 | if (c >= 'A' && c <= 'Z') { |
| 52 | return c+('a'-'A'); |
| 53 | } else { |
| 54 | return c; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | /* Test of the CPU is Little Endian and supports not aligned accesses. |
| 59 | * Two interesting conditions to speedup the function that happen to be |