[libc] Update libc.

1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
This commit is contained in:
bernard
2017-10-15 22:41:59 +08:00
parent b27c7e4826
commit 5c7b16d00b
37 changed files with 1404 additions and 343 deletions

View File

@@ -36,7 +36,7 @@ int __close(int handle)
return _LLIO_ERROR;
#ifdef RT_USING_DFS
return close(handle - _LLIO_STDERR - 1);
return close(handle);
#else
return 0;
#endif