📄 cktnum2nod.c
字号:
/* * Copyright (c) 1985 Thomas L. Quarles */ /* CKTnum2nod * find the given node given its name and return the node pointer */#include "prefix.h"#include <stdio.h>#include "IFsim.h"#include "SPerror.h"#include "CKTdefs.h"#include "suffix.h"RCSID("CKTnum2nod.c $Revision: 1.1 $ on $Date: 91/04/02 12:08:01 $")/* ARGSUSED */CKTnode *CKTnum2nod(ckt,node) CKTcircuit *ckt; int node;{ register CKTnode *here; for (here = ((CKTcircuit *)ckt)->CKTnodes; here; here = here->next) { if(here->number == node) { return(here); } } return((CKTnode *)NULL);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -