source:
trunk/libs/newlib/src/libgloss/iq2000/fstat.c
@
609
| Last change on this file since 609 was 444, checked in by , 7 years ago | |
|---|---|
| File size: 190 bytes | |
| Rev | Line | |
|---|---|---|
| [444] | 1 | #include <_ansi.h> |
| 2 | #include <sys/types.h> | |
| 3 | #include <sys/stat.h> | |
| 4 | #include "trap.h" | |
| 5 | ||
| 6 | ||
| 7 | int | |
| 8 | _fstat (int file, | |
| 9 | struct stat *st) | |
| 10 | { | |
| 11 | st->st_mode = S_IFCHR; | |
| 12 | st->st_blksize = 4096; | |
| 13 | return 0; | |
| 14 | } |
Note: See TracBrowser
for help on using the repository browser.
