The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
433 B
19 lines
433 B
11 years ago
|
#include<stdio.h>
|
||
|
#include<string.h>
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
|
if(argc != 3) {
|
||
|
fprintf(stderr, "Incorrect number of arguments.\n");
|
||
|
return 1;
|
||
|
}
|
||
|
if(strcmp(argv[1], "first") != 0) {
|
||
|
fprintf(stderr, "First argument is wrong.\n");
|
||
|
return 1;
|
||
|
}
|
||
|
if(strcmp(argv[2], "second") != 0) {
|
||
|
fprintf(stderr, "Second argument is wrong.\n");
|
||
|
return 1;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|