I am tired of using the built-in functions in CodeWarrior. The book said that StrPrintF is equivalent to sprintf and that really screw me up when trying to port some of the existing and working codes in other platform into CodeWarrior. What I have had to do is rewriting several sections in the codes. Hope that CodeWarrior will support standard C library in the future.
Cheer. --- Dave Carrigan <[EMAIL PROTECTED]> wrote: > Max Bian <[EMAIL PROTECTED]> writes: > > > It is not, but... > > > > Isn't a good idea to have it behave just like > others? Is there a POSIX > > standard (or other standard) that the most follow? > > The other side of that argument is that if it was > supposed to behave > like sprintf, it would have been named sprintf, and > not StrPrintF. I > believe that the behavior of sprintf is defined in > the ANSI C > spec. However, the behavior of StrPrintF is defined > in the PalmOS > Reference Manual. > > I've been bitten by the incompatibilities myself, > and have learned that > unless the function has the exact name as an ANSI > function, I shouldn't > expect it to behave like one (MemSet anyone?). > > -- > Dave Carrigan ([EMAIL PROTECTED]) | Yow! > It don't mean a THING if > UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | you > ain't got that SWING!! > Seattle, WA, USA | > http://www.rudedog.org/ | > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
