From dadd5202a3ccfd8c03fb9eb60e6a15b0fb987672 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sat, 23 May 2015 21:39:42 +0200 Subject: filesystem stuff and experimenting with userspace tasks --- userspace/sys/syscalls.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'userspace/sys') diff --git a/userspace/sys/syscalls.c b/userspace/sys/syscalls.c index e6a6a4d..9dfd313 100644 --- a/userspace/sys/syscalls.c +++ b/userspace/sys/syscalls.c @@ -92,8 +92,6 @@ int gettimeofday(struct timeval *tv, void *tz) return syscall(SYSCALL_GETTIMEOFDAY,tv,tz,0); } - - int fork(void) { return syscall(SYSCALL_FORK,0,0,0); @@ -109,9 +107,6 @@ int kill(int pid, int sig) return syscall(SYSCALL_KILL,pid,sig,0); } - - - int link(char *old, char *ne) { return syscall(SYSCALL_LINK,old,ne,0); @@ -122,20 +117,16 @@ int unlink(char *name) return syscall(SYSCALL_UNLINK,name,0,0); } - - int times(struct tms *buf) { return syscall(SYSCALL_TIMES,buf,0,0); } - int wait(int *status) { return syscall(SYSCALL_WAIT,status,0,0); } - int stat(const char *file, struct stat *st) { return syscall(SYSCALL_STAT,file,st,0); -- cgit v1.2.3