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

📄 com_strcmp.c

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 C
字号:
#include <config.h>#include <ngspice.h>#include <bool.h>#include <wordlist.h>#include "com_strcmp.h"#include "quote.h"#include "variable.h"/* This is a truly evil thing */voidcom_strcmp(wordlist *wl){    char *var, *s1, *s2;    int i;    var = wl->wl_word;    s1 = cp_unquote(wl->wl_next->wl_word);    s2 = cp_unquote(wl->wl_next->wl_next->wl_word);        i = strcmp(s1, s2);    tfree(s1);/*DG  cp_unquote memory leak*/    tfree(s2);    cp_vset(var, VT_NUM, (char *) &i);    return;}

⌨️ 快捷键说明

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