O_NONBLOCK can be used in C programming. You can see the definitions in the header file / usr / include / sys / _default_fcntl.h
#define _FNONBLOCK 0x4000 #define O_NONBLOCK _FNONBLOCK
You can try the magic number 0x4000 directly.
Pan ruochen
source share