I would use StrChr, but the strings I'm searching for in the buffer are not
NULL terminated.
At 05:10 PM 02/21/2000 -0500, you wrote:
>Why not use StrChr (or StrStr)? Its part of the Palm OS API.
>
>-----Original Message-----
>From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>To: Palm Developer Forum <[EMAIL PROTECTED]>
>Date: Monday, February 21, 2000 5:01 PM
>Subject: Help compiling/linking mem.c
>
>
>>Hello everyone,
>>
>>I'm new to using this forum and to working with the Palm OS, but I hope
>>someone out there can help me.
>>
>>I'm using CodeWarrior R6 as my development platform and I'm trying to use
>>the "memchr" function to search for a character in a buffer string. The
>>prototype for memchr is found in string.h, but since this function is not
>>available with the Palm OS library I've been trying to compile the provided
>>source code.
>>
>>I found the source in the msl/msl_c/msl_common/src directory, but when I
>>try to compile it I get complaints that it can't open MacMemory.h. In
>>fact, I can't find MacMemory.h anywhere in the Metrowerks directory.
>>
>>Am I missing something? I originally thought this would be a relatively
>>painless exercise to use what is usually considered a standard C function.
>>
>>Any guidance toward a resolution of this "simple" problem would be
>>appreciated.
>>
>>Thanks,
>>
>>Brad S.
>>
>>+----------------------------------------+
>>| Brad, Renee, Jordan, & Connor Skillman |
>>| [EMAIL PROTECTED] |
>>+----------------------------------------+
>>
>>--
>>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palm.com/devzone/mailinglists.html
>>
>>
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
+----------------------------------------+
| Brad, Renee, Jordan, & Connor Skillman |
| [EMAIL PROTECTED] |
+----------------------------------------+
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html