CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

15. testmycall.c (new user space source file to be created)

testmycall.c

  1. Create a C file called testmycall.c in the same directory as testmycall.h. The C file will look like:

/*---Start of C file------*/

#include<stdio.h>

#include "testmycall.h"

int main(void)

{

printf("%d\n", mycall(15));

}

/*---End of C file------*/