mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 00:27:09 +08:00
lwip_fcntl() returns access modes
This commit is contained in:
@@ -374,6 +374,15 @@ typedef struct ip_mreq {
|
||||
#ifndef O_NDELAY
|
||||
#define O_NDELAY 1 /* same as O_NONBLOCK, for compatibility */
|
||||
#endif
|
||||
#ifndef O_RDONLY
|
||||
#define O_RDONLY 2
|
||||
#endif
|
||||
#ifndef O_WRONLY
|
||||
#define O_WRONLY 4
|
||||
#endif
|
||||
#ifndef O_RDWR
|
||||
#define O_RDWR (O_RDONLY|O_WRONLY)
|
||||
#endif
|
||||
|
||||
#ifndef SHUT_RD
|
||||
#define SHUT_RD 0
|
||||
|
||||
Reference in New Issue
Block a user