From: Rafael Garcia-Suarez Date: Sat, 12 Feb 2005 16:14:56 +0000 (+0000) Subject: README.cygwin additions by Reini Urban X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75e109ec81c2002e1d04766607aa888464c8e6cf;p=p5sagit%2Fp5-mst-13.2.git README.cygwin additions by Reini Urban p4raw-id: //depot/perl@23962 --- diff --git a/README.cygwin b/README.cygwin index fa2f549..5f8d327 100644 --- a/README.cygwin +++ b/README.cygwin @@ -438,6 +438,15 @@ However, when accessing an executable as a normal file (e.g., I in a makefile) the F<.exe> is not transparent. The I included with Cygwin automatically appends a F<.exe> when necessary. +=item * cygwin vs. windows process ids + +Cygwin processes have their own pid, which is different from the +underlying windows pid. Most posix compliant Proc functions expect +the cygwin pid, but several Win32::Process functions expect the +winpid. E.g. C<$$> is the cygwin pid of F, which is not +the winpid. Use C and C +to translate between them. + =item * C On WinNT C can change a file's user and group IDs. On Win9x C @@ -549,12 +558,14 @@ be kept as clean as possible (listing not updated yet). t/op/stat.t - no /dev, skip Win32 ftCreationTime quirk (cache manager sometimes preserves ctime of file previously created and deleted), no -u (setuid) + t/lib/cygwin.t - builtin cygwin function tests =item Compiled Perl Source EXTERN.h - __declspec(dllimport) XSUB.h - __declspec(dllexport) - cygwin/cygwin.c - os_extras (getcwd, spawn) + cygwin/cygwin.c - os_extras (getcwd, spawn, Cygwin::winpid_to_pid, + Cygwin::pid_to_winpid) perl.c - os_extras perl.h - binmode doio.c - win9x can not rename a file when it is open @@ -603,4 +614,4 @@ Gerrit P. Haase . =head1 HISTORY -Last updated: 2003-08-12 +Last updated: 2005-02-11