summaryrefslogtreecommitdiff
path: root/userspace/sys/syscalls.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-23 21:39:42 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-23 21:39:42 +0200
commitdadd5202a3ccfd8c03fb9eb60e6a15b0fb987672 (patch)
tree3c4b818f90a4862f82ed2e03ceaaf9d7723d293d /userspace/sys/syscalls.c
parent6c8be13c682a0aef520b2d3efeb67dcf078b1889 (diff)
filesystem stuff and experimenting with userspace tasks
Diffstat (limited to 'userspace/sys/syscalls.c')
-rw-r--r--userspace/sys/syscalls.c9
1 files changed, 0 insertions, 9 deletions
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);