Handling a signal with a class member function

Hello,
i am using the sigaction function to handle the SIGCHLD signal.Is it possible to use a class member function as the handler function (the sa_handler member of the sigaction structure)?
The function's signature is:

void (*sa_handler)(int);

so i don't think i can use a static member function to call the actual handler function.

Any idea?
Thanks in advance!

Being a static function would mean it would have no direct access to any class members. You would need to keep a global variable, a pointer to the object you wanted access to, which the static function would have access to, including private members.

Ok,i just wanted to make sure if there was some way to avoid the usage of a global variable/function