📄 add.c
字号:
/* add.c
* Simple program to test whether the systemcall interface works.
*
* Just do a add syscall that adds two values and returns the result.
*
*/
#include "syscall.h"
int
main()
{
int result;
result = Add(42, 23);
Halt();
/* not reached */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -