I cannot find a way to pass variables to sigaction() (and certainly not signal()). Besides the default function, is there any way to pass additional data to a signal handler, without using globals?