• memmem implementation

    From Paul Attryde@21:1/5 to All on Mon Jun 10 19:59:28 2019
    Has anyone implemented (or, if the RTL includes it natively, found a way
    to call) the C runtime function memmem from Clarion?

    Basically I have a pointer to a blob of memory, which I need to search
    for an ASCII string. It looks like memmem should do it, but I suspect it pre-dates the RTL and may not exist in the TS/JPI libraries.
    In which case I need to get creative with memchr, loops and pointer
    arithmetic. I'm just hoping it doesn't come to that :)


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)