chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add non-failing close() variant
[elogind.git]
/
util.h
diff --git
a/util.h
b/util.h
index 9aceaef47fd5e118d3a8a9a811fbf036b3cf944a..c3d3aad7b9a24d7ccc652ed09167da9500213966 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-61,6
+61,7
@@
bool endswith(const char *s, const char *postfix);
bool startswith(const char *s, const char *prefix);
int close_nointr(int fd);
+void close_nointr_nofail(int fd);
int parse_boolean(const char *v);