Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com> --- win32/mingw.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/win32/mingw.c b/win32/mingw.c index 020e9c4..09d746f 100644 --- a/win32/mingw.c +++ b/win32/mingw.c @@ -55,3 +55,10 @@ int gettimeofday(struct timeval *tv, void *tz) tv->tv_usec = st.wMilliseconds*1000; return 0; } + +int pipe(int filedes[2]) +{ + if (_pipe(filedes, PIPE_BUF, 0) < 0) + return -1; + return 0; +}
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox