From: Robert M. <rmi...@no...> - 2003-09-19 20:24:47
|
If you open up Console.app, (I believe it's under Applications/Utilities) you should see the output of those printf's, if stdout is even open. You could reassign stdout to a pipe opened for write permission, but that's hackish. -- Robert Minichino UNIX/Mac Client Development Novadigm, Inc. > -----Original Message----- > From: Kevan Hashemi [mailto:ha...@br...] > Sent: Thursday, September 18, 2003 6:42 PM > To: TCL-MAC > Subject: [MACTCL] printf from within extension > > > Dear TCL Users, > > I have a C extension from a colleague who works on a unix > workstation. He > has plenty of calls to printf. He claims that these calls > print text on the > TCL console. But printf doesn't do anything when I put it in > my extensions. > Everything else works (tcl_globaleval, and so on), but not printf. > > How do I direct C's standard output to the MacOS X Wish console? > > > Yours, Kevan Hashemi > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > |