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:
parent
28eac9272f
commit
9cfbb5aa82
|
@ -5217,6 +5217,7 @@ pipe_worker (int filedes[2], unsigned int psize, int mode)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* MS compatible version of pipe. Hopefully nobody is using it... */
|
||||||
extern "C" int
|
extern "C" int
|
||||||
_pipe (int filedes[2], unsigned int psize, int mode)
|
_pipe (int filedes[2], unsigned int psize, int mode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue