source: vendor/glibc-tests/glibc/elf/preloadtest.c

Last change on this file was 2036, checked in by bird, 20 years ago

Initial revision

  • 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: 214 bytes
Line 
1#include <stdio.h>
2
3#include "testobj.h"
4
5int
6main (void)
7{
8 int res = preload (42);
9
10 printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
11
12 return res != 92;
13}
14
15int
16foo (int a)
17{
18 return a;
19}
Note: See TracBrowser for help on using the repository browser.