summaryrefslogtreecommitdiff
path: root/README.cygwin
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-02-12 16:14:56 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-02-12 16:14:56 +0000
commit75e109ec81c2002e1d04766607aa888464c8e6cf (patch)
treeffc65f97d45c68f9e0c14dfb22f5bf0a8111e1fc /README.cygwin
parent49fd6edc755e0fc505e10cdb1d5025c747291b4c (diff)
downloadperl-75e109ec81c2002e1d04766607aa888464c8e6cf.tar.gz
README.cygwin additions by Reini Urban
p4raw-id: //depot/perl@23962
Diffstat (limited to 'README.cygwin')
-rw-r--r--README.cygwin15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.cygwin b/README.cygwin
index fa2f549436..5f8d327db3 100644
--- a/README.cygwin
+++ b/README.cygwin
@@ -438,6 +438,15 @@ However, when accessing an executable as a normal file (e.g., I<cp>
in a makefile) the F<.exe> is not transparent. The I<install> 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</usr/bin/perl>, which is not
+the winpid. Use C<Cygwin::winpid_to_pid()> and C<Cygwin::winpid_to_pid()>
+to translate between them.
+
=item * C<chown()>
On WinNT C<chown()> can change a file's user and group IDs. On Win9x C<chown()>
@@ -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 <gp@familiehaase.de>.
=head1 HISTORY
-Last updated: 2003-08-12
+Last updated: 2005-02-11