file: do not use non-blocking mode when unknown/unspecified/useless
For FIFO and sockets, non-blocking is wanted. For character device, the effects depend on the device driver. For other types, non-blocking mode has either no effects or is unspecified. (cherry picked from commit bd19904c7d2ab50b83d98c64244cb0d54ff46da7)
Showing
Please register or sign in to comment