Ben Combee wrote:

> I just found something that bugged me.  The PalmOS String Manager function
> StrStr differs from the C standard in how it handles empty strings.
>
>     PalmOS StrStr(string, "") returns NULL
>     The ANSI C strstr(string, "") returns string
>
> I hope this difference is noted in future versions of the documentation.
> Right now, no empty string behavior is specified for StrStr.

Check out the ordering of parameters to MemSet() and memset() sometime...

--
Adam Wozniak                     Senior Software Design Engineer
                                 Surveyor Corporation
[EMAIL PROTECTED]                4548 Broad Street
[EMAIL PROTECTED]          San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to