aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-common.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 23:47:54 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-11 17:59:35 -0700
commitfd3b1a0e32964436a5259e073857e0c4e2110122 (patch)
tree6cd005834ebeabf4a46e7b2ec8c65a51c18f0a61 /qemu-common.h
parent9251866320b5f8329a043bb56b3a794f78d12849 (diff)
downloadexternal_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.zip
external_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.tar.gz
external_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.tar.bz2
Upstream: add qemu_fdatasync()
Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h2
1 files changed, 2 insertions, 0 deletions
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))