projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fd-tracker: add pipe management wrappers to fd-tracker
[lttng-tools.git]
/
src
/
common
/
fd-tracker
/
utils.h
diff --git
a/src/common/fd-tracker/utils.h
b/src/common/fd-tracker/utils.h
index 86af3c6e1aadf695317a082160b37dbb2fd71874..e250f4af02212a0fd804c4c3880255e42c36da68 100644
(file)
--- a/
src/common/fd-tracker/utils.h
+++ b/
src/common/fd-tracker/utils.h
@@
-28,6
+28,13
@@
struct lttng_poll_event;
*/
int fd_tracker_util_close_fd(void *, int *fd);
*/
int fd_tracker_util_close_fd(void *, int *fd);
+/*
+ * Create a pipe and track its underlying fds.
+ */
+int fd_tracker_util_pipe_open_cloexec(struct fd_tracker *tracker,
+ const char *name, int *pipe);
+int fd_tracker_util_pipe_close(struct fd_tracker *tracker, int *pipe);
+
/*
* Create a poll event and track its underlying fd, if applicable.
*/
/*
* Create a poll event and track its underlying fd, if applicable.
*/
This page took
0.023077 seconds
and
4
git commands to generate.