1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/torture/t_strcmp.c
Jelmer Vernooij b674411eb4 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652)
2007-10-10 13:35:01 -05:00

21 lines
322 B
C

/*
* Copyright (C) 2003 by Martin Pool
*
* Test harness for strcasecmp_m
*/
#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_m(argv[1], argv[2]));
return 0;
}