summaryrefslogtreecommitdiff
path: root/src/string/strcmp.c
blob: 808bd8370ddeca3a2cfc124601cbd6012be89f80 (plain) (blame)
1234567
#include <string.h> int strcmp(const char *l, const char *r) { for (; *l==*r && *l; l++, r++); return *(unsigned char *)l - *(unsigned char *)r; } 
close