Sign in

    tonyfettes/c/string does not have a README file

    Borrow

    trait Borrow

    borrow

    fn[T : Borrow, R] borrow(value : T, f : (
    Pointer
    [Byte]) -> R) -> R

    borrow_2

    fn[A : Borrow, B : Borrow, R] borrow_2(a : A, b : B, f : (
    Pointer
    [Byte],
    Pointer
    [Byte]) -> R) -> R

    strcmp

    fn[Str1 : Borrow, Str2 : Borrow] strcmp(s1 : Str1, s2 : Str2) -> Int

    strcpy

    fn[Str1 : Borrow, Str2 : Borrow] strcpy(dst : Str1, src : Str2) -> Unit

    strlen

    fn[Str : Borrow] strlen(s : Str) ->
    Size

    strncmp

    fn[Str1 : Borrow, Str2 : Borrow] strncmp(s1 : Str1, s2 : Str2, n :
    Size
    ) -> Int

    strncpy

    fn[Str1 : Borrow, Str2 : Borrow] strncpy(dst : Str1, src : Str2, n :
    Size
    ) -> Unit

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io