setshow.c

来自「这个是LINUX下的GDB调度工具的源码」· C语言 代码 · 共 28 行

C
28
字号
/* IMPORTANT: leave this comment in the first line of this source file. *//*            this will guarantee that line 1 contains no code. */#include <stdio.h>#ifdef PROTOTYPESintmain(int argc, char **argv)#elseint main(argc, argv)     int argc;     char **argv;#endif{  int i = 1;#ifdef usestubs  set_debug_traps();  breakpoint();#endif  if (argc <= 0 || argc > 8)    return -1;  while (i < argc)    printf ("%s ", argv[i++]);  return 0;}

⌨️ 快捷键说明

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