diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-30 01:52:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-30 01:52:44 +0100 |
commit | 79d6d8160834fdfc964f4b8b2a6b7fb32c7b36c9 (patch) | |
tree | fe60889ffec7168469483d4491ded9642226f5da /util.h | |
parent | 1dccbe197cc480c1f161f967d180cbc3cc3d2d66 (diff) |
add first_word() call
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |