projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
counter-config.h should be private
[lttng-ust.git]
/
snprintf
/
patient_write.c
diff --git
a/snprintf/patient_write.c
b/snprintf/patient_write.c
index 4f344ec97d1af588e877142f02822abbb40f9588..5a7fed43165ed46b4782b7844d9735d6853eb8ce 100644
(file)
--- a/
snprintf/patient_write.c
+++ b/
snprintf/patient_write.c
@@
-19,13
+19,13
@@
#include <errno.h>
#include <errno.h>
-#include <share.h>
+#include <
ust-
share.h>
/*
* This write is patient because it restarts if it was incomplete.
*/
/*
* This write is patient because it restarts if it was incomplete.
*/
-ssize_t patient_write(int fd, const void *buf, size_t count)
+ssize_t
ust_
patient_write(int fd, const void *buf, size_t count)
{
const char *bufc = (const char *) buf;
int result;
{
const char *bufc = (const char *) buf;
int result;
@@
-53,7
+53,7
@@
ssize_t patient_write(int fd, const void *buf, size_t count)
* The `struct iovec *iov` is not `const` because we modify it to support
* partial writes.
*/
* The `struct iovec *iov` is not `const` because we modify it to support
* partial writes.
*/
-ssize_t patient_writev(int fd, struct iovec *iov, int iovcnt)
+ssize_t
ust_
patient_writev(int fd, struct iovec *iov, int iovcnt)
{
ssize_t written, total_written = 0;
int curr_element_idx = 0;
{
ssize_t written, total_written = 0;
int curr_element_idx = 0;
@@
-95,7
+95,7
@@
ssize_t patient_writev(int fd, struct iovec *iov, int iovcnt)
return total_written;
}
return total_written;
}
-ssize_t patient_send(int fd, const void *buf, size_t count, int flags)
+ssize_t
ust_
patient_send(int fd, const void *buf, size_t count, int flags)
{
const char *bufc = (const char *) buf;
int result;
{
const char *bufc = (const char *) buf;
int result;
This page took
0.023038 seconds
and
4
git commands to generate.