partition.h

来自「minix3的源码」· C头文件 代码 · 共 22 行

H
22
字号
/*	minix/partition.h				Author: Kees J. Bot *								7 Dec 1995 * Place of a partition on disk and the disk geometry, * for use with the DIOCGETP and DIOCSETP ioctl's. */#ifndef _MINIX__PARTITION_H#define _MINIX__PARTITION_H#ifndef _TYPES_H#include <sys/types.h>#endifstruct partition {  u64_t base;		/* byte offset to the partition start */  u64_t size;		/* number of bytes in the partition */  unsigned cylinders;	/* disk geometry */  unsigned heads;  unsigned sectors;};#endif /* _MINIX__PARTITION_H */

⌨️ 快捷键说明

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