mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 07:00:05 +08:00
feat(vfs): Add fcntl and modify ioctl
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__)
|
||||
|
Reference in New Issue
Block a user