]>
sourceware.org Git - glibc.git/blob - elf/restest2.c
13 f
= (pid_t (*)(void)) dlsym (RTLD_NEXT
, "getpid");
15 error (EXIT_FAILURE
, 0, "dlsym (RTLD_NEXT, \"getpid\"): %s", dlerror ());
16 return (pid2
= f()) + 26;
26 f
= (pid_t (*)(void)) dlsym (RTLD_DEFAULT
, "getpid");
28 error (EXIT_FAILURE
, 0, "dlsym (RTLD_DEFAULT, \"getpid\"): %s", dlerror ());
31 error (EXIT_FAILURE
, 0, "main getpid() not called");
This page took 0.038163 seconds and 5 git commands to generate.