I'm trying to understand a code which have the following lines:
void terminate_pipe(int);
code code code...
struct sigaction new_Sigiterm;
new_Sigiterm.sa_handler = terminate_pipe;
My question are:
- What is the meaning of calling a function like this? Is it going to just put - NULLas the parameter?
- It is void, so - new_Sigiterm.sa_handlerwill be- NULLno matter what?
thanks.
 
     
     
     
    