public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Define FSCTL_PIPE_FLUSH
@ 2018-03-07 20:57 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-03-07 20:57 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2f48ddb1ca45055eaeaa61af766653251b575a72
commit 2f48ddb1ca45055eaeaa61af766653251b575a72
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Mar 7 21:54:46 2018 +0100
Cygwin: Define FSCTL_PIPE_FLUSH
This fsctl might come in handy at one point...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/ntdll.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index b251055..64babef 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -157,6 +157,7 @@ extern GUID __cygwin_socket_guid;
#define FILE_VC_VALID_MASK 0x000003ff
/* IOCTL code to impersonate client of named pipe. */
+
#define FSCTL_PIPE_DISCONNECT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 1, \
METHOD_BUFFERED, FILE_ANY_ACCESS)
#define FSCTL_PIPE_LISTEN CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, \
@@ -165,6 +166,8 @@ extern GUID __cygwin_socket_guid;
METHOD_BUFFERED, FILE_ANY_ACCESS)
#define FSCTL_PIPE_IMPERSONATE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, \
METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define FSCTL_PIPE_FLUSH CTL_CODE(FILE_DEVICE_NAMED_PIPE, 16, \
+ METHOD_BUFFERED, FILE_WRITE_DATA)
typedef enum _FILE_INFORMATION_CLASS
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-07 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 20:57 [newlib-cygwin] Cygwin: Define FSCTL_PIPE_FLUSH Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).