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]

RE: stderr and clearmake


> -----Original Message-----
> From: cygwin-owner On Behalf Of Aaron Conole
> Sent: 11 November 2004 14:08

> I've written a program to print out a message on stdout and then on 
> stderr. The output is as follows:
> aconole@ACONOLE ~
> ----------------------------
> $ ./stderr-test.exe
> This is stderr!
> This is stdout!
> ----------------------------
> 
> The code is:
> ------------------------
> #include "stdio.h"
> 
> int main(){
>     fprintf(stdout, "This is stdout!\n");
>     fprintf(stderr, "This is stderr!\n");
>     return 0;
> }
> ------------------------
> 
> As you can see, for some reason stderr and stdout are being 
> manipulated in some odd fashion, 

  No they aren't.  That's exactly the output you'd expect to see from that
program.  What on earth are you expecting to happen?


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]