c - Linux sizeof struct @运行时?

标签 c linux

what is __dirstream, where can we find the definition

因此,我试图从 opendir 获取 sizeof DIR,它是 __dirstream 的类型定义。我知道它在编译时隐藏,是否有定义的最大大小?

最佳答案

__ 名称中的双下划线将其标记为实现私有(private)。除了实现文件之外,没有任何关于它的定义。

is there a defined max size

不,对不起。

关于c - Linux sizeof struct @运行时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31603785/

相关文章:

c - assembly 中的阶乘函数

c - jni 中 dll 加载异常

linux - Autosys 作业未正确执行 linux 命令

linux - 在 TCP 端口上监视服务器的最佳方法

ruby - Python 或 Ruby 用于 Linux 上的新应用程序?

linux - 运行 Ubuntu 的 VM Player 仅记录到访客 session

c - 你如何在原子编辑器中编译一个c程序

c - 在 C 中设置指向 NULL 的指针,而不是编译

c - Fscanf 里面一直崩溃?

c - 如何在 Linux 上用 C 获取 CPU 信息,例如内核数?