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 missing header files
[elogind.git]
/
util.h
diff --git
a/util.h
b/util.h
index 476b5ae8abefe68e84b959adb0379f33d348c45b..a9c430f722f8b0749cf2e4ed43cb5932ca528515 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-60,6
+60,8
@@
static inline bool is_path_absolute(const char *p) {
bool endswith(const char *s, const char *postfix);
bool startswith(const char *s, const char *prefix);
+bool first_word(const char *s, const char *word);
+
int close_nointr(int fd);
void close_nointr_nofail(int fd);