/* 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 <unistd.h>
#include <limb/obuffer.h>
void
obuffer_putmsgdie(obuffer *obuf, u8 level, const char *str[], unsigned n, int exit)
{
obuffer_putmsg(obuf, level, str, n);
_exit(exit);
}