?? mac.c
字號:
#include <memory.h>#include "spice.h"#include "ftegraph.h"#include "ftedev.h"#include "fteinput.h"#include "ftedefs.h" #include <console.h>char *argv[2];intinitmac(av) char ***av;{ MoreMasters; MoreMasters; MoreMasters; MoreMasters; MoreMasters; MoreMasters; console_options.pause_atexit=false; console_options.title="\pBerkeley Spice"; argv[0] = 0; argv[1] = 0; *av = argv; return(1);}char *_memavl() { long int grow, free; free = MaxMem(&grow); if (grow == 0) return((char *)free); return((char *)grow); }int QDraw_Init(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_NewViewport(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Close(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Clear(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_DrawLine(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Arc(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Text(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_DefineColor(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_DefineLinestyle(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_SetLinestyle(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_SetColor(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Update(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Track(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_MakeMenu(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_MakeDialog(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}intQDraw_Input(request, response) REQUEST *request; RESPONSE *response;{ switch (request->option) { case char_option: response->reply.ch = inchar(request->fp); response->option = request->option; break; default: /* just ignore, since we don't want a million error messages */ if (response) response->option = error_option; break; } return;} intQDraw_DatatoScreen(){ sprintf(ErrorMessage, "This operation is not defined for display type %s.", dispdev->name); internalerror(ErrorMessage); return(1);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -