摘要: int mydup2(int oldfd, int newfd) { int tfd = 0; if (newfd < 0) { err_sys("newfd < 0"); } if (newfd == oldfd) { return oldfd; } while(1) { tfd = dup(ol 阅读全文
posted @ 2016-08-03 14:33 抟九 阅读(263) 评论(0) 推荐(0) 编辑