/* 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/esc.h>
ssize_t
esc_scan(char *dst, size_t dlen, const char *sce, size_t slen)
{
size_t w = 0, r = 0;
if (escall_scan(dst, dlen, sce, slen, &w, &r))
return w;
else
return -1;
}