source: trunk/testcase/Optlink-1.c@ 315

Last change on this file since 315 was 134, checked in by bird, 23 years ago

Early coding.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1#include <stdio.h>
2#include <stdarg.h>
3#include <string.h>
4
5long _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);