pkarashchenko commented on code in PR #10110:
URL: https://github.com/apache/nuttx/pull/10110#discussion_r1286861005
##########
arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c:
##########
@@ -59,12 +60,12 @@ struct _reent;
int _close_r(struct _reent *r, int fd)
{
- return close(fd);
+ return nx_close(fd);
Review Comment:
So the main questions are:
1. Is kernel linked with Internal ROM APIs that newlib functions?
2. Are apps linked with Internal ROM APIs that newlib functions?
Those two answers will give us a direction to move forward. If both are
"yes", then we will need to use `_NX_CLOSE`, `lib_malloc`, `lib_free`, etc.
basically following up how the rest of the things are done in NuttX `libc`
implementation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]