Move compat macros in 'lttng/align.h' to a private header
[lttng-ust.git] / include / ust-snprintf.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: LGPL-2.1-or-later
3 *
4 * Copyright (C) 2009 Pierre-Marc Fournier
5 */
6
7#ifndef UST_SNPRINTF
8#define UST_SNPRINTF
9
10#include <stdarg.h>
11#include <stddef.h>
12
13#include "ust-helper.h"
14
15LTTNG_HIDDEN
16int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
17LTTNG_HIDDEN
18int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...)
19 __attribute__ ((format (printf, 3, 4)));
20
21#endif /* UST_SNPRINTF */
This page took 0.034684 seconds and 4 git commands to generate.