阅读背景:

如果输出到终端,则在C中检测

来源:互联网 

I'm writing a C program for OS X and Linux, and I want to tweak the output based on whether or not it's going to a terminal. I know we've covered how to do this in a shell script, e.g. here:I'm writing a C program for OS X and Linux, and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: