Re: write to the console
Re: write to the console
- Subject: Re: write to the console
- From: Vince DeMarco <email@hidden>
- Date: Wed, 23 Apr 2003 07:56:54 -0700
On Tuesday, April 22, 2003, at 11:40 PM, Lloyd Dupont wrote:
well, I'm testing with a simple tool.
when I invoke it from the terminal NSLog() write in my terminal, but
there is no output in the system console.
I tried fprintf(stderr, ...); too, but it doesn't work either ...
stderr is buffered, and the buffer gets flushed when fflush() is
called or the stream contains a \n
so this should work
fprintf(stderr,"Hello there\n");
NSLog works just fine too.
vince
On Wednesday, April 23, 2003, at 04:34 PM, email@hidden wrote:
NSLog() is what I use
On Wed, 23 Apr 2003 16:19:34 +1000, Lloyd Dupont wrote:
how to write to the console ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.