stathelp.h

来自「klibc精简化的c程序库」· C头文件 代码 · 共 25 行

H
25
字号
/* * stathelp.h * * Helper macros for <klibc/archstat.h> */#ifndef _KLIBC_STATHELP_H#define _KLIBC_STATHELP_H#include <klibc/endian.h>/* * Most architectures have a 64-bit field for st_dev and st_rdev, * but dev_t is 32 bits (uint32_t == unsigned int), so make a * macro we can use across all architectures. */#if __BYTE_ORDER == __BIG_ENDIAN# define __stdev64(x)	unsigned int __##x, x;#else# define __stdev64(x)	unsigned int x, __##x;#endif#endif				/* _KLIBC_STATHELP_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?