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

📄 pxdb.c

📁 这个是LINUX下的GDB调度工具的源码
💻 C
字号:
#include <stdio.h>#ifdef PROTOTYPESint callee (int x)#elseint callee( x )int x;#endif{    int y = x * x;    return (y - 2);}int main(){    int i;    for (i = 1; i < 10; i++)        {            printf( "%d ", callee( i ));                    }    printf( " Goodbye!\n" );    return 0;}/* This routine exists only for aCC.  The way we compile this test is   that we use aCC for the actual compile into the object file but then   use ld directly for the link.  When we do this, we get an undefined   symbol _main().  Therefore, for aCC, we have this routine in here and   ld is happy.  */#ifdef __cplusplusextern "C" {void _main(){}}#endif

⌨️ 快捷键说明

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