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

📄 is_scsi_tape.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
字号:
#ifndef lint#ifdef SunB1static	char		mls_sccsid[] = "@(#)is_scsi_tape.c 1.1 92/07/30 SMI; SunOS MLS";#elsestatic	char		sccsid[] = "@(#)is_scsi_tape.c 1.1 92/07/30 SMI";#endif /* SunB1 */#endif lint/* *	Copyright (c) 1989 Sun Microsystems, Inc. */#include <strings.h>/*******************************************************************************	Function:	(int)	is_scsi_tape()****	Description:	tells if the named device is a scsi tape device****      Return Value:  1  : if device is scsi tape device**		       0  : if device is not scsi tape device*******************************************************************************/intis_scsi_tape(device)	char	*device;	/* the device to test */{	if (strncmp(device, "st", 2) == 0)		return(1);	else		return(0);}

⌨️ 快捷键说明

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