Sreevathsa wrote: > I have a question regarding signals. Is there a way you can pass some custom > defined parameter (say, a struct foo * ) to a signal handler?? No (other than by using a global variable). As you can only install a single handler for any given signal, there isn't any real need to support closures. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html