Passion & Innovation - I write, therefore I am
#include <signal.h> struct sigaction sa; sa.sa_handler = SIG_IGN; sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sigaction(SIGPIPE, &sa, 0);
沒有留言:
張貼留言