about summary refs log tree commit diff
path: root/pls.c
diff options
context:
space:
mode:
Diffstat (limited to 'pls.c')
-rw-r--r--pls.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pls.c b/pls.c
index 08309f8..9f6cb69 100644
--- a/pls.c
+++ b/pls.c
@@ -120,3 +120,11 @@ fail:
 	*ret = NULL;
 	return -1;
 }
+
+int aswprintf(wchar_t **ret, const wchar_t *format, ...) {
+	va_list ap;
+	va_start(ap, format);
+	int n = vaswprintf(ret, format, ap);
+	va_end(ap);
+	return n;
+}