mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
Merge branch 'feature/add_fcntl_function' into 'master'
Add fcntl and modify ioctl See merge request sdk/ESP8266_RTOS_SDK!428
This commit is contained in:
@ -1 +1,4 @@
|
||||
#include <sys/socket.h>
|
||||
#undef fcntl
|
||||
|
||||
#include <sys/fcntl.h>
|
||||
|
@ -41,7 +41,9 @@ extern "C" {
|
||||
#define O_SYNC _FSYNC
|
||||
/* O_NDELAY _FNDELAY set in include/fcntl.h */
|
||||
/* O_NDELAY _FNBIO set in include/fcntl.h */
|
||||
#ifndef O_NONBLOCK
|
||||
#define O_NONBLOCK _FNONBLOCK
|
||||
#endif
|
||||
#define O_NOCTTY _FNOCTTY
|
||||
/* For machines which care - */
|
||||
#if defined (__CYGWIN__)
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user