mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
ef2e26c91b
(This used to be commit b0510b5428
)
21 lines
318 B
C
21 lines
318 B
C
/*
|
|
* Copyright (C) 2003 by Martin Pool
|
|
*
|
|
* Test harness for StrCaseCmp
|
|
*/
|
|
|
|
#include "includes.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
if (argc != 3) {
|
|
fprintf(stderr, "usage: %s STRING1 STRING2\nCompares two strings\n",
|
|
argv[0]);
|
|
return 2;
|
|
}
|
|
|
|
printf("%d\n", StrCaseCmp(argv[1], argv[2]));
|
|
|
|
return 0;
|
|
}
|