blob: 7a273ac52b283df16fb98ee4ed80da781feeb9f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <lib/string.h>
char strcmp(const char *a, const char *b)
{
if (strlen(a) != strlen(b))
return 1;
for (u32 i = 0; i < strlen(a); i++)
if (a[i] != b[i])
return 1;
return 0;
}
|