mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-04 12:36:57 +08:00
feat(newlib): Add function to mark the VFS to be tty type
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user