patacongo commented on PR #10602:
URL: https://github.com/apache/nuttx/pull/10602#issuecomment-1720016981

   
   > This case isn't suitable for stdio functions. How can you pass FILE * from 
one task/process to other task/process in kernel mode? So it's impossible to 
call the callback function cross the address space boundary since FILE* return 
from fopencookie can only be used by the caller's task/process and is always 
invalid and impossible to pass FILE* to another task/process at the first place.
   
   I don't see the relevance of the FILE*.  I was more concerned at the 
io_funcs and cookie.  But looking at the prototype, it seems impossible that 
the io_funcs could like in a different address space. from the caller of 
fopencookie().
   
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to