https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a6c59223014e3feadd0abba2d083b51e5c41ed67
commit a6c59223014e3feadd0abba2d083b51e5c41ed67 Author: Corinna Vinschen <cori...@vinschen.de> AuthorDate: Mon Aug 4 20:16:20 2025 +0200 Commit: Corinna Vinschen <cori...@vinschen.de> CommitDate: Mon Aug 4 20:51:03 2025 +0200 Cygwin: fcntl: define F_OFD flag This will be used by a followup patch to denote OFD locks per POSIX. Signed-off-by: Corinna Vinschen <cori...@vinschen.de> Diff: --- winsup/cygwin/include/fcntl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/winsup/cygwin/include/fcntl.h b/winsup/cygwin/include/fcntl.h index 0c1c66d674a9..dc6b596b160f 100644 --- a/winsup/cygwin/include/fcntl.h +++ b/winsup/cygwin/include/fcntl.h @@ -18,6 +18,7 @@ details. */ #define F_WAIT 0x10 /* Wait until lock is granted */ #define F_FLOCK 0x20 /* Use flock(2) semantics for lock */ #define F_POSIX 0x40 /* Use POSIX semantics for lock */ +#define F_OFD 0x80 /* Use OFD semantics for lock */ #endif /* F_LCK_MANDATORY: Request mandatory locks for this file descriptor.