Welcome to little lamb

Code » limb » master » tree

[master] / src / liblimb / bytestr.h / byte_get_match.c

/* This file is part of limb                           https://lila.oss/limb
 * Copyright (C) 2023 Olivier Brunel                          jjk@jjacky.com */
/* SPDX-License-Identifier: GPL-2.0-only */
#include <limb/bytestr.h>

int
byte_get_match(int *first, const char *str, size_t slen, const char **list)
{
    return byte_get_match_full(first, str, slen, list, 0, sizeof(*list));
}