13 lines
225 B
Plaintext
13 lines
225 B
Plaintext
global name;
|
|
|
|
main()
|
|
{
|
|
local str;
|
|
name = "strchr";
|
|
str = "bozoman du 36";
|
|
test(strchr(str, 'z'), str + 2, "");
|
|
test(strchr(str, 0), str + 13, "");
|
|
test(strchr(str, '5'), 0, "");
|
|
test(strchr(str, '6'), str + 12, "");
|
|
}
|