Back to index

glibc  2.9
preloadtest.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 
00003 #include "testobj.h"
00004 
00005 int
00006 main (void)
00007 {
00008   int res = preload (42);
00009 
00010   printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
00011 
00012   return res != 92;
00013 }
00014 
00015 int
00016 foo (int a)
00017 {
00018   return a;
00019 }