fstype.h
来自「klibc精简化的c程序库」· C头文件 代码 · 共 24 行
H
24 行
/* * by rmk * * Detect filesystem type (on stdin) and output strings for two * environment variables: * FSTYPE - filesystem type * FSSIZE - filesystem size (if known) * * We currently detect (in order): * gzip, cramfs, romfs, xfs, minix, ext3, ext2, reiserfs, jfs * * MINIX, ext3 and Reiserfs bits are currently untested. */#ifndef FSTYPE_H#define FSTYPE_H#include <unistd.h>int identify_fs(int fd, const char **fstype, unsigned long long *bytes, off_t offset);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?