diff options
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 571ea67..406786d 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -241,6 +241,13 @@ cygwin_internal (cygwin_getinfo_types t, ...) extract_nt_dom_user (pw, domain, user); return 0; } + case CW_CMDLINE: + { + size_t n; + pid_t pid = va_arg (arg, pid_t); + pinfo p (pid); + return (DWORD) p->cmdline (n); + } default: return (DWORD) -1; } |