c语言写一个tiny shell如何将标准输出重定向到dev/null

如题所述

第1个回答  2012-11-25
freopen("/dev/null","w",stdout);
相似回答