repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kernel - Fix shared lock bug in kern_mutex.c
[dragonfly.git]
/
contrib
/
mdocml
/
test-strcasestr.c
blob
479ba9138f856f6f8a65446740211abc4db4c440
1
#if defined(__linux__) || defined(__MINT__)
2
# define _GNU_SOURCE
/* strcasestr() */
3
#endif
4
5
#include <string.h>
6
7
int
8
main
(
void
)
9
{
10
const char
*
big
=
"BigString"
;
11
char
*
cp
=
strcasestr
(
big
,
"Gst"
);
12
return
(
big
+
2
!=
cp
);
13
}