chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: implement fd_nonbloc()/fd_cloexec()
[elogind.git]
/
util.h
diff --git
a/util.h
b/util.h
index 9f9bca86f2c44df00401069854b362e5408d0a67..772d7ae9ffb82a40d44f0c6296012a9fd3693bc2 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-172,6
+172,9
@@
bool ignore_file(const char *filename);
struct __useless_struct_to_allow_trailing_semicolon__
+int fd_nonblock(int fd, bool nonblock);
+int fd_cloexec(int fd, bool cloexec);
+
const char *ioprio_class_to_string(int i);
int ioprio_class_from_string(const char *s);