在程序中如何设定可用^C或^D中断进程 ??????

在程序中如何设定可用^C或^D中断进程 ??????
---------------------------------------------------------------

默认的情况,不用设置,^C可以终止你的进程;但是^D需要你在从标准输入读返回0时自己退出

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus