This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've created a minimal example: $ gcc -g -O0 forktestcase.c -o forktestcase.exe $ ./forktest Pointer BEFORE THE FORK env is 0x28cd00 This is the child Pointer env is 0x28cd00 env[0] is env[1] is Child exited with 0
If you have a look at the attached code, I believe the expected output is $ ./forktest Pointer BEFORE THE FORK env is 0x28cd00 This is the child Pointer env is 0x28cd00 Child exited with 0
Attachment:
forktestcase.c
Description: Text document
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |