nuttx
nuttx copied to clipboard
drivers/pipe: Change to the block mode by file_ioctl(FIONBIO)
Summary
it's simpler and safer than file_fcntl(F_SETFL)
Impact
code refactor only
Testing
internal test
@xiaoxiang781216 did you try it: https://acassis.wordpress.com/2021/03/04/using-fifo-on-nuttx-to-send-data-from-your-board-to-computer/ ?
@xiaoxiang781216 did you try it: https://acassis.wordpress.com/2021/03/04/using-fifo-on-nuttx-to-send-data-from-your-board-to-computer/ ?
not try, but we use pipe in many places, so the test coverage is good.