Answers for "signal in c"

C
2

signal function c

/**
 * @param sig - the signal number
 * @param func - pointer to the handler function
 */
void (*signal(int sig, void (*func)(int)))(int);
Posted by: Guest on April-02-2021
0

signal handlers in c

kill -l for all the signals

use signal function to register signal handlers
man signal
Posted by: Guest on December-01-2020
-1

c signals

#define SIGHUP  1   /* Hangup the process */ 
#define SIGINT  2   /* Interrupt the process */ 
#define SIGQUIT 3   /* Quit the process */ 
#define SIGILL  4   /* Illegal instruction. */ 
#define SIGTRAP 5   /* Trace trap. */ 
#define SIGABRT 6   /* Abort. */
Posted by: Guest on November-22-2020

Code answers related to "C"

Browse Popular Code Answers by Language