Changeset 0e7c3d9 in mainline for uspace/lib/c/generic/str.c


Ignore:
Timestamp:
2017-05-15T19:25:23Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ee7e6a
Parents:
fec333b3
Message:

Remove stricmp()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str.c

    rfec333b3 r0e7c3d9  
    12391239       
    12401240        return true;
    1241 }
    1242 
    1243 int stricmp(const char *a, const char *b)
    1244 {
    1245         int c = 0;
    1246        
    1247         while (a[c] && b[c] && (!(tolower(a[c]) - tolower(b[c]))))
    1248                 c++;
    1249        
    1250         return (tolower(a[c]) - tolower(b[c]));
    12511241}
    12521242
Note: See TracChangeset for help on using the changeset viewer.