source: trunk/libs/newlib/src/libgloss/m32r/fstat.c @ 634

Last change on this file since 634 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 164 bytes
Line 
1#include <sys/types.h>
2#include <sys/stat.h>
3#include "syscall.h"
4#include "eit.h"
5
6int
7_fstat (int file, struct stat *st)
8{
9  st->st_mode = S_IFCHR;
10  return 0;
11}
Note: See TracBrowser for help on using the repository browser.