This is the mail archive of the
mailing list for the Cygwin project.
- From: Reini Urban <rurban at x-ray dot at>
- To: cygwin <cygwin at cygwin dot com>
- Date: Sun, 06 Feb 2005 18:35:14 +0100
- Subject: perl winpid?
I feel quite stupid now, but found nothing simple.
How to get the winpid from the current process in cygwin's perl?
$$ is the cygwin pid which is different from the windows pid
Im just finishing perl-linwin32, and this is the last failing test,
assuming $$ == WINPID
Is GetCurrentProcessId() somewhere in Win32CORE or should I add it to
Win32::API is unfortunately not in libwin32, where it would be a simple
$GetCurrentProcessId = new Win32::API( "kernel32.dll",
"GetCurrentProcessId", , N )
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html