4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-18 23:12:15 +08:00

Cygwin: _pipe: add a comment

I wasted valuable minutes of my life just to find out why we export
this weird version of pipe.  In the pre-2000 era the idea was Cygwin
could be used as drop-in replacement for msvcrt.dll, apparently.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2021-08-31 10:50:23 +02:00
parent 28eac9272f
commit 9cfbb5aa82

View File

@ -5217,6 +5217,7 @@ pipe_worker (int filedes[2], unsigned int psize, int mode)
return res;
}
/* MS compatible version of pipe. Hopefully nobody is using it... */
extern "C" int
_pipe (int filedes[2], unsigned int psize, int mode)
{