summaryrefslogtreecommitdiff
path: root/user/user.h
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2024-02-11 14:41:35 +0800
committerMole Shang <[email protected]>2024-02-11 14:41:35 +0800
commit48a5e34fcd07852b4a68825ce8e37feb6f6d04d7 (patch)
treeb6ec41ca1889db0122d754b0083c7d1d87cb0818 /user/user.h
parent3673a2cdfb30e1e3936e695a3fb8adee74488d6b (diff)
downloadxv6-labs-48a5e34fcd07852b4a68825ce8e37feb6f6d04d7.tar.gz
xv6-labs-48a5e34fcd07852b4a68825ce8e37feb6f6d04d7.tar.bz2
xv6-labs-48a5e34fcd07852b4a68825ce8e37feb6f6d04d7.zip
lab traps: finishtraps
Diffstat (limited to 'user/user.h')
-rw-r--r--user/user.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/user.h b/user/user.h
index a076f37..34591fd 100644
--- a/user/user.h
+++ b/user/user.h
@@ -33,6 +33,8 @@ int ugetpid(void);
#endif
int trace(int);
int sysinfo(struct sysinfo*);
+int sigalarm(int ticks, void (*handler)());
+int sigreturn(void);
// ulib.c
int stat(const char*, struct stat*);