aboutsummaryrefslogtreecommitdiff
path: root/xsnprintf.h
blob: 9463a34ad723d7cc7eb0fa8e5f078e97e14fa9f8 (plain)
1
2
3
4
5
6
7
#pragma once

#include <stdarg.h>
#include <stddef.h>
#include "macros.h"

size_t xsnprintf(char *restrict buf, size_t n, const char *restrict format, ...) PRINTF(3) NONNULL_ARGS;