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?
This is a discussion on Pass variables to sigaction within the C Programming forums, part of the General Programming Boards category; I cannot find a way to pass variables to sigaction() (and certainly not signal()). Besides the default function, is there ...
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?