projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add Solaris dirent compat
[lttng-tools.git]
/
src
/
common
/
readwrite.h
diff --git
a/src/common/readwrite.h
b/src/common/readwrite.h
index 39f5a11358b1965fe28f9f52fc249118235b9e85..ab22fdc1eaf3dd26b5ae368227e4e0923295c096 100644
(file)
--- a/
src/common/readwrite.h
+++ b/
src/common/readwrite.h
@@
-19,6
+19,7
@@
*/
#include <unistd.h>
*/
#include <unistd.h>
+#include <common/macros.h>
/*
* lttng_read and lttng_write take care of EINTR and partial read/write.
/*
* lttng_read and lttng_write take care of EINTR and partial read/write.
@@
-28,7
+29,9
@@
* error occured.
* The error can be checked by querying errno.
*/
* error occured.
* The error can be checked by querying errno.
*/
+LTTNG_HIDDEN
ssize_t lttng_read(int fd, void *buf, size_t count);
ssize_t lttng_read(int fd, void *buf, size_t count);
+LTTNG_HIDDEN
ssize_t lttng_write(int fd, const void *buf, size_t count);
#endif /* LTTNG_COMMON_READWRITE_H */
ssize_t lttng_write(int fd, const void *buf, size_t count);
#endif /* LTTNG_COMMON_READWRITE_H */
This page took
0.024859 seconds
and
5
git commands to generate.