gpt4 book ai didi

c - 为什么 getconf 不识别 BUFSIZ?

转载 作者:可可西里 更新时间:2023-11-01 11:50:47 25 4
gpt4 key购买 nike

$ getconf BUFSIZgetconf: Unrecognized variable 'BUFSIZ'

是否有一种标准方法可以从 shell 中确定 BUFSIZ 的值?编写一个简单的 C 程序来输出值很容易,但我不太明白为什么 getconf 不这样做。

最佳答案

因为 BUFSIZ 是 stdio 库的一个有点随意的配置参数,而不是系统配置参数

关于c - 为什么 getconf 不识别 BUFSIZ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4217572/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com