zftape.h

来自「自己做的交叉编译工具!gcc-3.4.5,glibc-2.3.6在ubuntu8」· C头文件 代码 · 共 56 行

H
56
字号
#ifndef _ZFTAPE_H#define _ZFTAPE_H/* * Copyright (C) 1996, 1997 Claus-Justus Heine. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING.  If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * * $Source: /cvsroot/linux-libc-headers/include/linux/zftape.h,v $ * $Revision: 1.2 $ * $Date: 2005-03-25 19:09:14 +0100 (Fri, 25 Mar 2005) $ * *      Special ioctl and other global info for the zftape VFS *      interface for the QIC-40/80/3010/3020 floppy-tape driver for *      Linux. */#define ZFTAPE_VERSION  "zftape for " FTAPE_VERSION#include <linux/ftape.h>#define ZFTAPE_LABEL       "Ftape - The Linux Floppy Tape Project!"/* Bits of the minor device number that control the operation mode */#define ZFT_Q80_MODE		(1 << 3)#define ZFT_ZIP_MODE		(1 << 4)#define ZFT_RAW_MODE		(1 << 5)#define ZFT_MINOR_OP_MASK	(ZFT_Q80_MODE	| 	\				 ZFT_ZIP_MODE	| 	\				 ZFT_RAW_MODE)#define ZFT_MINOR_MASK		(FTAPE_SEL_MASK		|	\				 ZFT_MINOR_OP_MASK	|	\				 FTAPE_NO_REWIND)#ifdef ZFT_OBSOLETEstruct mtblksz {	unsigned int mt_blksz;};#define MTIOC_ZFTAPE_GETBLKSZ _IOR('m', 104, struct mtblksz)#endif#endif

⌨️ 快捷键说明

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