summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-10 14:43:06 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-10 16:23:46 +0200
commit2ff7b0a54271c8480024d6d68edff4a92e781052 (patch)
tree4883cb0ad40483553e06d10a209475f757f273c8 /src/shared/util.h
parent6dd67163b8f173649e7dc73740f35274714caafc (diff)
util: unify how we parse mode_t strings
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 527867ce8b..56e11c7961 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -1089,3 +1089,5 @@ void cmsg_close_all(struct msghdr *mh);
int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
char *shell_maybe_quote(const char *s);
+
+int parse_mode(const char *s, mode_t *ret);