blob: 32d18f8e556bd509b0ef0da6c433ec0a76105c6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2022 Alejandro Colomar <alx@kernel.org>
// SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
#include <c/str/cpy/stp/stpe/stpeprintf.h>
#include <stdarg.h>
#include <c/str/cpy/stp/_compiler.h>
#pragma clang assume_nonnull begin
extern inline char *c_nullable c_stpeprintf(char *c_nullable dst, char end[0],
const char *restrict fmt, ...);
extern inline char *c_nullable c_vstpeprintf(char *c_nullable dst, char end[0],
const char *restrict fmt, va_list ap);
#pragma clang assume_nonnull end
|