Skip to content
Commit e0b4a10d authored by Gregory Nutt's avatar Gregory Nutt
Browse files

drivers/serial/pty.c, serial.c, usbdev/cdcacm.c, include/nuttx/fs/ioctl.h: ...

drivers/serial/pty.c, serial.c, usbdev/cdcacm.c, include/nuttx/fs/ioctl.h:  Fix FIONWRITE and add FIONSPACE.  All implementations of FIONWRITE were wrong.  FIONWRITE should return the number of bytes waiting in the outgoing send queue, not the free space.  Rather, FIONSPACE should return the free space in the send queue.
parent 899a8aa2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment