Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-06-04 05:06:17 +0400
committerChristopher Faylor <me@cgf.cx>2011-06-04 05:06:17 +0400
commit665f9a59a412731a6262e953b7b76f93a2ce13c8 (patch)
tree2b2ded40fd3e30c6707a3b4cddbd8fba182d1f47 /winsup/cygwin/ntdll.h
parentcb353ff36f5283fae953d15e6bca338f5ca2ddc1 (diff)
* ntdll.h (FILE_PIPE_*): Define constants.
* select.cc (pipe_data_available): Detect closing state.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r--winsup/cygwin/ntdll.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index 82b6cff47..29e6412d6 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -800,6 +800,14 @@ typedef struct _FILE_ALL_INFORMATION {
FILE_NAME_INFORMATION NameInformation;
} FILE_ALL_INFORMATION, *PFILE_ALL_INFORMATION;
+enum
+{
+ FILE_PIPE_DISCONNECTED_STATE = 1,
+ FILE_PIPE_LISTENING_STATE = 2,
+ FILE_PIPE_CONNECTED_STATE = 3,
+ FILE_PIPE_CLOSING_STATE = 4
+};
+
typedef struct _FILE_PIPE_LOCAL_INFORMATION
{
ULONG NamedPipeType;