summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.h
diff options
context:
space:
mode:
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);