JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

memcmp

core-api


    cfunction
    src/core/corelib.c on line 732, column 1

    (memcmp a b &opt len offset-a offset-b)

    Compare memory. Takes two byte sequences `a` and `b`, and return 0 
    if they have identical contents, a negative integer if a is less 
    than b, and a positive integer if a is greater than b. Optionally 
    take a length and offsets to compare slices of the bytes sequences.


0 examplesSign in to add an example
Loading...