big.c
来自「操作系统课程设计。在UNIX平台下实现Solary操作系统的一些功能」· C语言 代码 · 共 19 行
C
19 行
/* halt.c * Simple program to test whether running a user program works. * * Just do a "syscall" that shuts down the OS. * * NOTE: for some reason, user programs with global data structures * sometimes haven't worked in the Nachos environment. So be careful * out there! One option is to allocate data structures as * automatics within a procedure, but if you do this, you have to * be careful to allocate a big enough stack to hold the automatics! */#include "syscall.h"intmain(){}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?