09/07/2007 10:31 AM
post1024
|
> <pre>does html work</pre>
> <b>this is bold?</b>
> !!wiki wiki wiki?
Hmmm, plain text, eh?
1 #include <stdio.h>
2 #include <dlfcn.h>
3 #include <sys/time.h>
4
5 int func(void)
6 {
7 return time(NULL);
8 }
9 int main(int argc, char **argv)
10 {
11 char *world = NULL;
12 Dl_info info;
13
14 dladdr( main, &info );
15
16 printf( "Hello %s!\n", strdup(argv[1]) );
17
18 world = "World";
19
20 return func();
21 }
|
|
|