1313010Sdes/* $OpenBSD: utf8.h,v 1.1 2016/05/25 23:48:45 schwarze Exp $ */
2313010Sdes/*
3313010Sdes * Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
4313010Sdes *
5313010Sdes * Permission to use, copy, modify, and distribute this software for any
6313010Sdes * purpose with or without fee is hereby granted, provided that the above
7313010Sdes * copyright notice and this permission notice appear in all copies.
8313010Sdes *
9313010Sdes * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10313010Sdes * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11313010Sdes * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12313010Sdes * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13313010Sdes * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14313010Sdes * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15313010Sdes * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16313010Sdes */
17313010Sdes
18313010Sdesint	 mprintf(const char *, ...)
19313010Sdes	     __attribute__((format(printf, 1, 2)));
20313010Sdesint	 fmprintf(FILE *, const char *, ...)
21313010Sdes	     __attribute__((format(printf, 2, 3)));
22313010Sdesint	 vfmprintf(FILE *, const char *, va_list);
23313010Sdesint	 snmprintf(char *, size_t, int *, const char *, ...)
24313010Sdes	     __attribute__((format(printf, 4, 5)));
25