diff options
author | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:31:23 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-02-14 21:31:23 +0000 |
commit | 3d4565208313226900b47c9789d47301ae5c70df (patch) | |
tree | 39fd76ba803f64988e5f6d4d535ccfa6c0b84bf5 /winsup/cygwin/external.cc | |
parent | 907dc7d0c9f64d95b6d4da91dab6601d0e6054ec (diff) | |
download | newlib-3d4565208313226900b47c9789d47301ae5c70df.zip newlib-3d4565208313226900b47c9789d47301ae5c70df.tar.gz newlib-3d4565208313226900b47c9789d47301ae5c70df.tar.bz2 |
* include/sys/cygwin.h (cygwin_getinfo_types): New CW_STRACE_ACTIVE.
* external.cc (cygwin_internal): Handle CW_STRACE_ACTIVE.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 3892559..06f131f 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -222,6 +222,11 @@ cygwin_internal (cygwin_getinfo_types t, ...) } } + case CW_STRACE_ACTIVE: + { + return strace.active; + } + case CW_CYGWIN_PID_TO_WINPID: { pinfo p (va_arg (arg, pid_t)); |