From 2a025ae454c361fb03aadf88e8a2f678b80b38e6 Mon Sep 17 00:00:00 2001 From: Dmitry Fleytman Date: Mon, 9 Jul 2012 08:50:43 +0200 Subject: cutils: add strpadcpy() Signed-off-by: Yan Vugenfirer Signed-off-by: Dmitry Fleytman Signed-off-by: Paolo Bonzini --- qemu-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index 7c8dac80a2..d26ff39e87 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -138,6 +138,7 @@ int qemu_timedate_diff(struct tm *tm); /* cutils.c */ void pstrcpy(char *buf, int buf_size, const char *str); +void strpadcpy(char *buf, int buf_size, const char *str, char pad); char *pstrcat(char *buf, int buf_size, const char *s); int strstart(const char *str, const char *val, const char **ptr); int stristart(const char *str, const char *val, const char **ptr); -- cgit v1.2.3-55-g7522