⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scsi.c

📁 IPcop软路由防火墙 FREE 开源源代码
💻 C
字号:
/* IPCop install program. * * This program is distributed under the terms of the GNU General Public * Licence.  See the file COPYING for details. * * (c) Alan Hourihane, 2003 <alanh@fairlite.demon.co.uk> *  * $Id: scsi.c *  */#include "install.h"inttry_scsi(char *disk_device){	int fd;	char dev[10];	sprintf(dev, "/dev/%s", disk_device);	if ((fd = open(dev, O_RDONLY)) < 0)		return 0;	close(fd);	return 1;}

⌨️ 快捷键说明

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