Pipes Again -- a simple test case
Houder
houder@xs4all.nl
Mon Jan 4 09:24:00 GMT 2016
On 2016-01-04 09:52, Marco Atzeri wrote:
> On 04/01/2016 09:03, Houder wrote:
>> Hi Corinna,
>>
>> I have been looking for an STC to show why cmp fails on Cygwin (and to
>> show the
>> difference between Cygwin and Linux).
>>
>> The STC below creates a pipe (pipe() is used), followed by calls to
>> fstat() and
>> stat() for both the read end and the write end of the pipe.
>>
>> (I also tested with popen()/pclose(): same result)
>>
>> Regards,
>> Henri
>>
>> Btw, I am using W7 prof.; Cygwin-32 and Cygwin-64; 2.3.1 and 2.4.0
>>
>> =====
>>
>> The code for the STC is basically as follows:
>
> in general a STC should be complete and attached as file.
>
> I know where you took errExit and displayStatInfo, but
> it is anyway a extra effort time consuming for the others.
Yup ... find it attached to this post ... (I hope).
(I was busy "compiling" everyting in one file :-)
Regards,
Henri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_stat2.c
Type: text/x-c
Size: 7010 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160104/4dbbc0de/attachment.bin>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list