disable the SIGPIPE signal


signal (SIGPIPE, SIG_IGN);

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