aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pipe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index ad5131d..c2d633a 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -53,6 +53,12 @@ fhandler_pipe::set_close_on_exec (bool val)
set_no_inheritance (writepipe_exists, val);
}
+char *fhandler_pipe::get_proc_fd_name (char *buf)
+{
+ __small_sprintf (buf, "pipe:[%d]", get_handle ());
+ return buf;
+}
+
struct pipeargs
{
fhandler_base *fh;