[rt-smart] Fix return value in syscall (#7045)

* [timer] fix sys return value to avoid outdated errno

* [rtdef] add wrap to stringify

* [syscall] return value in rt errno should be recycle immediately after call to posix layer

* [syscall] return type of syscall should be long
errno should be recycle immediately after call to rt posix layer to avoid
outdated value

* [format] move prototype to header file

* [fix] futex definition conflict
This commit is contained in:
Shell
2023-03-13 19:09:34 +08:00
committed by GitHub
parent 34bf77b8e3
commit fcc01a617d
8 changed files with 467 additions and 422 deletions

File diff suppressed because it is too large Load Diff