Re: Standard Input/Output
Re: Standard Input/Output
- Subject: Re: Standard Input/Output
- From: John Stiles <email@hidden>
- Date: Sun, 18 Sep 2005 19:57:56 -0700
Tommy Nordgren wrote:
Sep 19, 2005 kl. 4:31 AM skrev Lachlan Cotter:
We have NSLog() for writing to standard error. Is there a similar
Cocoa function for writing to standard out? How would you normally
do this from a command line tool?
Thanks for any help,
Lach
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40chello.se
This email sent to email@hidden
Sure:
printf( [mystring UTF8String] ,...)
This is *dangerous* if mystring is not entirely under your control.
Try this instead.
printf( "%s", [mystring UTF8String] );
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden