From fd3b1a0e32964436a5259e073857e0c4e2110122 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 10 May 2010 23:47:54 -0700 Subject: Upstream: add qemu_fdatasync() Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4 --- qemu-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index 1416dfd..664e83f 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -110,8 +110,10 @@ void pstrcpy(char *buf, int buf_size, const char *str); 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); +int qemu_strnlen(const char *s, int max_len); time_t mktimegm(struct tm *tm); int qemu_fls(int i); +int qemu_fdatasync(int fd); #define qemu_isalnum(c) isalnum((unsigned char)(c)) #define qemu_isalpha(c) isalpha((unsigned char)(c)) -- cgit v1.1