projects
/
newlib-cygwin.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc4a699
)
Cygwin: fcntl: define F_OFD flag
author
Corinna Vinschen <corinna@vinschen.de>
Mon, 4 Aug 2025 18:16:20 +0000
(20:16 +0200)
committer
Corinna Vinschen <corinna@vinschen.de>
Mon, 4 Aug 2025 18:51:03 +0000
(20:51 +0200)
This will be used by a followup patch to denote OFD locks per POSIX.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/include/fcntl.h
patch
|
blob
|
history
diff --git
a/winsup/cygwin/include/fcntl.h
b/winsup/cygwin/include/fcntl.h
index 0c1c66d674a9956456a6896038ee861526c7b2c1..dc6b596b160f9d78d179a39b3939d3e0f1bc58c0 100644
(file)
--- 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.
This page took
0.059399 seconds
and
5
git commands to generate.