disable the SIGPIPE signal


signal (SIGPIPE, SIG_IGN);

posted @ 2012-02-19 22:36  greencolor  阅读(167)  评论(0)    收藏  举报