summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-27 18:48:48 +0000
committerRoland McGrath <roland@gnu.org>1995-09-27 18:48:48 +0000
commit16ca9cd563723d716626e5c0e8dd5fba15d68858 (patch)
tree926ea29514f05c3c3c1384982e48fe00178fb6bf /boot
parentf5aebc81e112801adad6826a5a1e5f75f7803d2b (diff)
(fstat): New syscall function.
Diffstat (limited to 'boot')
-rw-r--r--boot/boot.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/boot/boot.c b/boot/boot.c
index 71b47942..e369c20d 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -178,6 +178,12 @@ open (const char *name,
}
int
+fstat (int fd, struct stat *buf)
+{
+ return syscall (62, fd, buf);
+}
+
+int
close (int fd)
{
return syscall (6, fd);