Hi List, Almost (maybe all) function from the standard library stdio.h and string.h are not safely to be called by signal handler. If so, how to format string in a signal handler?. I want to log some signals which sent to my program, the contents is for example: time, the signal number itself, etc, and then write it to a file. Regards. -- 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