00001 00006 #include <reent.h> 00007 #include <errno.h> 00008 #include <sys/stat.h> 00009 //#include <sysdefs.h> 00010 00011 00022 int _fstat_r(struct _reent *p_reent, int fd, struct stat *p_stat) 00023 { 00024 p_reent->_errno = EIO; 00025 return -1; 00026 } 00027