summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-08-19 14:56:48 +0000
committerChristopher Faylor <me@cgf.cx>2005-08-19 14:56:48 +0000
commitbabc4e5424c9c850d6e7111f98edc40f5282c507 (patch)
tree92d9801b3252e58b67561cb6114a1fec47878416 /winsup/cygwin/winsup.h
parent4fa0a3986528b8a68956edeb96de85e3df68fe5b (diff)
downloadcygnal-babc4e5424c9c850d6e7111f98edc40f5282c507.tar.gz
cygnal-babc4e5424c9c850d6e7111f98edc40f5282c507.tar.bz2
cygnal-babc4e5424c9c850d6e7111f98edc40f5282c507.zip
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define. * miscfuncs.cc (create_pipe): Define new function.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index fdc8566d7..2bc40b170 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -308,6 +308,10 @@ size_t getshmlba ();
int winprio_to_nice (DWORD) __attribute__ ((regparm (1)));
DWORD nice_to_winprio (int &) __attribute__ ((regparm (1)));
+bool __stdcall create_pipe (PHANDLE hr, PHANDLE, LPSECURITY_ATTRIBUTES, DWORD)
+ __attribute__ ((regparm (3)));
+#define CreatePipe create_pipe
+
/**************************** Exports ******************************/
extern "C" {