summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 14:57:44 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 14:57:44 +0100
commit4fee397531c97d22e41fb3f02452e82d412fe2b5 (patch)
treefd65f7485ce816b2940dfdc106468f948e712cce /src/basic/fd-util.h
parent3f2c0becc3dcb1acb9d2a1816dcfe4e3de8877d4 (diff)
util-lib: move fdname_is_valid() to fd-util.[ch]
Diffstat (limited to 'src/basic/fd-util.h')
-rw-r--r--src/basic/fd-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h
index be00d881c3..1ca10f0383 100644
--- a/src/basic/fd-util.h
+++ b/src/basic/fd-util.h
@@ -67,3 +67,5 @@ int close_all_fds(const int except[], unsigned n_except);
int same_fd(int a, int b);
void cmsg_close_all(struct msghdr *mh);
+
+bool fdname_is_valid(const char *s);