Copilot
Your everyday AI companion
Explore these results from Bing
    Upvotes149Top Answeranswered Jul 19, 2009 at 22:37

    Prior to standardization there was ioctl(...FIONBIO...) and fcntl(...O_NDELAY...), but these behaved inconsistently between systems, and even within the same system. For example, it was common for FIONBIO to work on sockets and O_NDELAY to work on ttys, with a lot of inconsistency for things like pipes, fifos, and devices. And if you didn't know what kind of file descriptor you had, you'd have to set both to be sure. But in addition, a non-blocking read with no data available was also indicated inconsistently; depending on the OS and the typ...

    Content Under CC-BY-SA license
    Was this helpful?
  1. ioctl(2) - daemon-systems.org

  2. lwIP - ESP32 - — ESP-IDF Programming Guide v5.2.1 documentation

  3. Some results have been removed