feat(newlib): Add function to mark the VFS to be tty type

This commit is contained in:
Dong Heng
2018-05-17 18:56:04 +08:00
parent 12c66c582b
commit ecb70a5d03

View File

@ -79,6 +79,8 @@ int _unlink_r(struct _reent *r, const char *filename)
int _fstat_r(struct _reent *r, int fd, struct stat *s)
{
s->st_mode = S_IFCHR;
return 0;
}