summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-04-03 02:25:21 +0000
committerDamien Miller <djm@mindrot.org>2020-04-03 13:32:50 +1100
commitaf628b8a6c3ef403644d83d205c80ff188c97f0c (patch)
treeb1cb69480db2ae4637976f4a91cd6f3cfb0718db /utf8.h
parentd8ac9af645f5519ac5211e9e1e4dc1ed00e9cced (diff)
upstream: add allocating variant of the safe utf8 printer; ok
dtucker as part of a larger diff OpenBSD-Commit-ID: 037e2965bd50eacc2ffb49889ecae41552744fa0
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 88c5a34a3..20a11dc59 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: utf8.h,v 1.1 2016/05/25 23:48:45 schwarze Exp $ */ 1/* $OpenBSD: utf8.h,v 1.2 2020/04/03 02:25:21 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> 3 * Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
4 * 4 *
@@ -22,4 +22,6 @@ int fmprintf(FILE *, const char *, ...)
22int vfmprintf(FILE *, const char *, va_list); 22int vfmprintf(FILE *, const char *, va_list);
23int snmprintf(char *, size_t, int *, const char *, ...) 23int snmprintf(char *, size_t, int *, const char *, ...)
24 __attribute__((format(printf, 4, 5))); 24 __attribute__((format(printf, 4, 5)));
25int asmprintf(char **, size_t, int *, const char *, ...)
26 __attribute__((format(printf, 4, 5)));
25void msetlocale(void); 27void msetlocale(void);