diff options
Diffstat (limited to 'libgloss/spu/write.c')
-rw-r--r-- | libgloss/spu/write.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libgloss/spu/write.c b/libgloss/spu/write.c index c9663429c..7cd5e5ae2 100644 --- a/libgloss/spu/write.c +++ b/libgloss/spu/write.c @@ -33,6 +33,16 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com) #include <fcntl.h> #include "jsre.h" +typedef struct +{ + unsigned int file; + unsigned int pad0[3]; + unsigned int ptr; + unsigned int pad1[3]; + unsigned int len; + unsigned int pad2[3]; +} syscall_write_t; + int write (int file, const void *ptr, size_t len) { |