inpgettitle.c

来自「支持数字元件仿真的SPICE插件」· C语言 代码 · 共 43 行

C
43
字号
/* * Copyright (c) 1985 Thomas L. Quarles */    /*  INPgetTitle(ckt,data)     *      get the title card from the specified data deck and pass     *      it through to SPICE-3.     */#include "prefix.h"#include <stdio.h>#include "util.h"#include "INPdefs.h"#ifndef CMS#include "IFerrmsgs.h"#else  /* CMS */#include "IFerrmsg.h"#endif /* CMS */#include "CPstd.h"#ifndef CMS#include "FTEextern.h"#else  /* CMS */#include "FTEexter.h"#endif /* CMS */#include "suffix.h"RCSID("INPgetTitle.c $Revision: 1.1 $ on $Date: 91/04/02 11:56:48 $")intINPgetTitle(ckt,data)    GENERIC **ckt;    card **data;{    int error;    error = (*(ft_sim->newCircuit))(ckt);    if(error) return(error);    *data = (*data)->nextcard;    return(OK);}

⌨️ 快捷键说明

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