59 extern int __real_sigprocmask(
int,
const sigset_t *, sigset_t *);
60 extern int __real_sigaction(
int sig,
const struct sigaction *act,
61 struct sigaction *oact);
62 extern sig_t __real_signal(
int sig, sig_t func);
64 int __wrap_sigprocmask(
int mask,
const sigset_t *set1, sigset_t *set2){
65 return __real_sigprocmask(mask,set1,set2);
68 int __wrap_sigaction(
int sig,
const struct sigaction *act,
struct sigaction *oact){
69 return __real_sigaction(sig,act,oact);
72 sig_t __wrap_signal(
int sig, sig_t func){
73 return __real_signal(sig,func);
104 EMSG(
"Called pthread_create!!");
void * __wrap_calloc(size_t nmemb, size_t size)
void * __real_malloc(size_t size)
void * __wrap_realloc(void *ptr, size_t size)
void * __wrap_pthread_create(void *dc)
void * __real_realloc(void *ptr, size_t size)
void * __wrap_malloc(size_t s)
void * __real_calloc(size_t nmemb, size_t size)