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

   > I know that @patacongo created a way to let a driver to incorporate 
another one, but I could find it. I think nobody used it until now, but it is 
some "hidden feature" of NuttX. I think he did it after creating the driver 
that convert char device to block devices.
   
   Within a driver, you can open and contain another driver using file_open() 
and access the other driver with file_read(), file_write()(), file_ioctl(), 
etc.  This avoids using file descriptors.
   


-- 
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]

Reply via email to