diff util.h @ 16:a07665727c19

Add status command Add status command to redisplay an error message of the previous command and unsaved changes. Add pwm_err function to display and save error messages.
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Tue, 08 Aug 2017 10:47:04 +0200
parents 60c8ab006e55
children
line wrap: on
line diff
--- a/util.h	Mon Aug 07 19:11:56 2017 +0200
+++ b/util.h	Tue Aug 08 10:47:04 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Guido Berhoerster <guido+pwm@berhoerster.name>
+ * Copyright (C) 2017 Guido Berhoerster <guido+pwm@berhoerster.name>
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -38,6 +38,7 @@
 void *	xmalloc(size_t);
 void *	xrealloc(void *, size_t);
 char *	xstrdup(const char *);
+char *	xvasprintf(char **, const char *, va_list);
 char *	xasprintf(char **, const char *, ...);
 
 #endif /* UTIL_H */