diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-05-27 08:16:14 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-05-27 08:16:14 -0400 |
commit | 8ab818626d8ef8cd303e0c16765252c6fb22ef17 (patch) | |
tree | 9eb8cba616d54dba65c439cacf23f5c5d5df4257 /src/shared/util.h | |
parent | 233b58f3ac6d9ee34f0e428968c36b2e72ddb20c (diff) |
src/shared/util.h: import loop_write() from upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index f6c8f75649..423210e2f0 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -221,6 +221,7 @@ int fopen_temporary(const char *path, FILE **_f, char **_temp_path); ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll); int loop_read_exact(int fd, void *buf, size_t nbytes, bool do_poll); +int loop_write(int fd, const void *buf, size_t nbytes, bool do_poll); char* dirname_malloc(const char *path); |