source:
trunk/testcase/Optlink-1.c@
315
| Last change on this file since 315 was 134, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 1.6 KB | |
| Line | |
|---|---|
| 1 | #include <stdio.h> |
| 2 | #include <stdarg.h> |
| 3 | #include <string.h> |
| 4 | |
| 5 | long _Optlink OptSimple(int arg1, int arg2, int arg3, int arg4, int arg5) |
| 6 | { |
| 7 | long ret; |
| 8 | if (arg1 != 0x11000011) |
| 9 | { |
| 10 | fprintf(stderr, "OptSimple: bad arg1 (%#x)\n", arg1); |
| 11 | return -1; |
| 12 | } |
| 13 | if (arg2 != 0x22000022) |
| 14 | { |
| 15 | fprintf(stderr, "OptSimple: bad arg2 (%#x)\n", arg2); |
| 16 | return -2; |
| 17 | } |
| 18 | if (arg3 != 0x33000033) |
| 19 | { |
| 20 | fprintf(stderr, "OptSimple: bad arg2 (%#x)\n", arg3); |
