summaryrefslogtreecommitdiff
path: root/ulib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulib.c')
-rw-r--r--ulib.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/ulib.c b/ulib.c
index 5061732..543323c 100644
--- a/ulib.c
+++ b/ulib.c
@@ -1,25 +1,4 @@
int
-fork()
-{
- asm("mov $1, %eax");
- asm("int $48");
-}
-
-int
-exit()
-{
- asm("mov $2, %eax");
- asm("int $48");
-}
-
-void
-cons_putc(int c)
-{
- asm("mov $4, %eax");
- asm("int $48");
-}
-
-int
puts(char *s)
{
int i;
@@ -29,38 +8,3 @@ puts(char *s)
return i;
}
-int
-pipe(int fds[])
-{
- asm("mov $5, %eax");
- asm("int $48");
-}
-
-int
-read(int fd, char *buf, int n)
-{
- asm("mov $7, %eax");
- asm("int $48");
-}
-
-int
-write(int fd, char *buf, int n)
-{
- asm("mov $6, %eax");
- asm("int $48");
-}
-
-int
-close(int fd)
-{
- asm("mov $8, %eax");
- asm("int $48");
-}
-
-int
-block(void)
-{
- asm("mov $9, %eax");
- asm("int $48");
-}
-