【C语言】sysconf

long sysconf(int name)

在运行时获取配置信息。受到的限制将少于编译时 ,  中可用的对应值。

POSIX allows an application to test at compile or run time whether certain options are supported, or what the value is of certain configurable constants or limits.

At compile time this is done by including  and/or  and testing the value of certain macros.

参考:

sysconf_百度百科 (baidu.com)

标准C库之pathconf、fpathconf函数(查询文件描述符相关属性)_阿宋同学的博客-CSDN博客

sysconf_sysconf(_sc_phys_pages);_lazying_bird的博客-CSDN博客

SYSCONF - Linux手册页-之路教程 (onitroad.com)

sysconf (opengroup.org)

sysconf(3) — Arch manual pages (archlinux.org)

你可能感兴趣的:(C语言,c语言,开发语言)