projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
directory-handle: query if instance is backed by a file descriptor
[lttng-tools.git]
/
src
/
common
/
compat
/
directory-handle.h
diff --git
a/src/common/compat/directory-handle.h
b/src/common/compat/directory-handle.h
index 551fa50b439b84c85cc6d2bfa667943836973454..b6ee8b3846fdc7a70a77f19c295ab49b23bd3555 100644
(file)
--- a/
src/common/compat/directory-handle.h
+++ b/
src/common/compat/directory-handle.h
@@
-267,6
+267,14
@@
int lttng_directory_handle_stat(
const char *name,
struct stat *stat_buf);
const char *name,
struct stat *stat_buf);
+/*
+ * Returns true if this directory handle is backed by a file
+ * descriptor, false otherwise.
+ */
+LTTNG_HIDDEN
+bool lttng_directory_handle_uses_fd(
+ const struct lttng_directory_handle *handle);
+
/*
* Compare two directory handles.
*
/*
* Compare two directory handles.
*
This page took
0.023166 seconds
and
4
git commands to generate.