summaryrefslogtreecommitdiff
path: root/ulib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulib.c')
-rw-r--r--ulib.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ulib.c b/ulib.c
index d99acdd..5061732 100644
--- a/ulib.c
+++ b/ulib.c
@@ -56,3 +56,11 @@ close(int fd)
asm("mov $8, %eax");
asm("int $48");
}
+
+int
+block(void)
+{
+ asm("mov $9, %eax");
+ asm("int $48");
+}
+