emulator_unexpected.c 196 B

12345678910
  1. #include <stdio.h>
  2. int main(int argc, const char* argv[])
  3. {
  4. int i;
  5. for (i = 1; i < argc; ++i) {
  6. fprintf(stderr, "unexpected argument: '%s'\n", argv[i]);
  7. }
  8. return argc == 1 ? 0 : 1;
  9. }