summaryrefslogtreecommitdiff
path: root/src/libudev/util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-07-06 07:59:11 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-07-06 07:59:11 -0400
commit368ad52438ffe82744dfd9c02a3556045261f7c2 (patch)
treee11f8a9db528e764ecd0904da456683da65d99fa /src/libudev/util.h
parent231fb4972709c4b7de48761a0a3c656e394d37a5 (diff)
src/libudev/util.c: import flush_fd() from upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/util.h')
-rw-r--r--src/libudev/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/util.h b/src/libudev/util.h
index 332dfb6207..bde7b91e6f 100644
--- a/src/libudev/util.h
+++ b/src/libudev/util.h
@@ -213,6 +213,8 @@ void random_bytes(void *p, size_t n);
int open_terminal(const char *name, int mode);
+int flush_fd(int fd);
+
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);