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

📄 inplkmod.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
/**********Copyright 1990 Regents of the University of California.  All rights reserved.Author: 1985 Thomas L. Quarles**********//* */#include "ngspice.h"#include <stdio.h>#include "inpdefs.h"#include "inp.h"extern INPmodel *modtab;/*----------------------------------------------------------------- * This fcn accepts a pointer to the model name, and returns 1 if * the model exists in the model table, and returns 0 if hte model * doesn't exist in the model table. *----------------------------------------------------------------*/int INPlookMod(char *name){    register INPmodel **i;    for (i = &modtab; *i != (INPmodel *) NULL; i = &((*i)->INPnextModel)) {	if (strcmp((*i)->INPmodName, name) == 0) {	    /* found the model in question - return TRUE */	    return (1);	}    }    /* didn't find model - return FALSE */    return (0);}

⌨️ 快捷键说明

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