开发者

Why does getconf not recognize BUFSIZ?

开发者_开发技巧
$ getconf BUFSIZ
getconf: Unrecognized variable 'BUFSIZ'

Is there a standard way to determine the value of BUFSIZ from a shell? It's easy enough to write a simple C program to output the value, but I don't quite understand why getconf doesn't do it.


Because BUFSIZ is a somewhat-arbitary configuration parameter for the stdio library, and not a system configuration parameter


The man/info page for sysconf lists the names of the constants that getconf can return values for.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜