📄 cktfndnode.c
字号:
/* * Copyright (c) 1985 Thomas L. Quarles */ /* CKTfndNode * 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("CKTfndNode.c $Revision: 1.1 $ on $Date: 91/04/02 12:07:34 $")/* ARGSUSED */intCKTfndNode(ckt,node,name) GENERIC *ckt; GENERIC **node; IFuid name;{ register CKTnode *here; for (here = ((CKTcircuit *)ckt)->CKTnodes; here; here = here->next) { if(here->name == name) { if(node) *node = (char *)here; return(OK); } } return(E_NOTFOUND);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -