aboutsummaryrefslogtreecommitdiff
path: root/user/bttest.c
diff options
context:
space:
mode:
authorFrans Kaashoek <kaashoek@mit.edu>2022-09-25 20:00:42 -0400
committerFrans Kaashoek <kaashoek@mit.edu>2022-09-25 20:00:42 -0400
commitc826bd8176c764a7ae385ba6567afc0cd91cfc69 (patch)
treedfb0fe3332dfc7264963169d8ba761d9ad9a68ae /user/bttest.c
parent4b46c0c6eb464782faa36d158246ba4e3238c970 (diff)
downloadxv6-labs-2022-origin/traps.tar.xz
xv6-labs-2022-origin/traps.zip
traps laborigin/traps
Diffstat (limited to 'user/bttest.c')
-rw-r--r--user/bttest.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/user/bttest.c b/user/bttest.c
new file mode 100644
index 0000000..05405f9
--- /dev/null
+++ b/user/bttest.c
@@ -0,0 +1,10 @@
+#include "kernel/types.h"
+#include "kernel/stat.h"
+#include "user/user.h"
+
+int
+main(int argc, char *argv[])
+{
+ sleep(1);
+ exit(0);
+}