statfix.h
来自「linux下用PCMCIA无线网卡虚拟无线AP的程序源码」· C头文件 代码 · 共 25 行
H
25 行
#ifndef STATFIX_H#define STATFIX_H#include <sys/types.h>/* Pull in whatever this particular arch's kernel thinks the kernel version of * struct stat should look like. It turns out that each arch has a different * opinion on the subject, and different kernel revs use different names... */#define stat kernel_stat#define new_stat kernel_stat#include <asm/stat.h> #undef new_stat#undef stat/* Now pull in libc's version of stat */#define stat libc_stat#include <sys/stat.h>#undef statextern void statfix(struct libc_stat *libcstat, struct kernel_stat *kstat);extern int __fxstat(int version, int fd, struct libc_stat * statbuf);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?