repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r13121: Tag 4.0.0TP1
[Samba.git]
/
source
/
torture
/
t_strcmp.c
blob
15d000c98f9d10e3121cef73d1d9337b1c37facd
1
/*
2
* Copyright (C) 2003 by Martin Pool
3
*
4
* Test harness for strcasecmp_m
5
*/
6
7
#include
"includes.h"
8
9
int
main
(
int
argc
,
char
*
argv
[])
10
{
11
if
(
argc
!=
3
) {
12
fprintf
(
stderr
,
"usage: %s STRING1 STRING2
\n
Compares two strings
\n
"
,
13
argv
[
0
]);
14
return
2
;
15
}
16
17
printf
(
"%d
\n
"
,
strcasecmp_m
(
argv
[
1
],
argv
[
2
]));
18
19
return
0
;
20
}