aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysmec/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysmec/write.c')
-rw-r--r--newlib/libc/sys/sysmec/write.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/newlib/libc/sys/sysmec/write.c b/newlib/libc/sys/sysmec/write.c
deleted file mode 100644
index 78fd64f..0000000
--- a/newlib/libc/sys/sysmec/write.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <_ansi.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "sys/syscall.h"
-
-int errno;
-
-int __trap0 ();
-
-#define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
-
-int
-_write ( int file,
- char *ptr,
- size_t len)
-{
- return TRAP0 (SYS_write, file, ptr, len);
-}