projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[jit] In native-to-managed wrappers, emit the initlocals code for vtypes after the...
[mono.git]
/
support
/
sys-uio.c
diff --git
a/support/sys-uio.c
b/support/sys-uio.c
index f6b80e0d740ad70b0c2d6b937ed634fb3835718d..53e162f9fdada02a7a334006b116f749a1475ac6 100644
(file)
--- a/
support/sys-uio.c
+++ b/
support/sys-uio.c
@@
-11,6
+11,8
@@
#define _GNU_SOURCE
#endif /* ndef _GNU_SOURCE */
#define _GNU_SOURCE
#endif /* ndef _GNU_SOURCE */
+#include "sys-uio.h"
+
#include <sys/uio.h>
#include "map.h"
#include <sys/uio.h>
#include "map.h"
@@
-18,8
+20,8
@@
G_BEGIN_DECLS
G_BEGIN_DECLS
-st
atic st
ruct iovec*
-
from_iovec
(struct Mono_Posix_Iovec *iov, gint32 iovcnt)
+struct iovec*
+
_mph_from_iovec_array
(struct Mono_Posix_Iovec *iov, gint32 iovcnt)
{
struct iovec* v;
gint32 i;
{
struct iovec* v;
gint32 i;
@@
-51,7
+53,7
@@
Mono_Posix_Syscall_readv (int dirfd, struct Mono_Posix_Iovec *iov, gint32 iovcnt
struct iovec* v;
gint64 res;
struct iovec* v;
gint64 res;
- v =
from_iovec
(iov, iovcnt);
+ v =
_mph_from_iovec_array
(iov, iovcnt);
if (!v) {
return -1;
}
if (!v) {
return -1;
}
@@
-69,7
+71,7
@@
Mono_Posix_Syscall_writev (int dirfd, struct Mono_Posix_Iovec *iov, gint32 iovcn
struct iovec* v;
gint64 res;
struct iovec* v;
gint64 res;
- v =
from_iovec
(iov, iovcnt);
+ v =
_mph_from_iovec_array
(iov, iovcnt);
if (!v) {
return -1;
}
if (!v) {
return -1;
}
@@
-89,7
+91,7
@@
Mono_Posix_Syscall_preadv (int dirfd, struct Mono_Posix_Iovec *iov, gint32 iovcn
mph_return_if_off_t_overflow (off);
mph_return_if_off_t_overflow (off);
- v =
from_iovec
(iov, iovcnt);
+ v =
_mph_from_iovec_array
(iov, iovcnt);
if (!v) {
return -1;
}
if (!v) {
return -1;
}
@@
-109,7
+111,7
@@
Mono_Posix_Syscall_pwritev (int dirfd, struct Mono_Posix_Iovec *iov, gint32 iovc
mph_return_if_off_t_overflow (off);
mph_return_if_off_t_overflow (off);
- v =
from_iovec
(iov, iovcnt);
+ v =
_mph_from_iovec_array
(iov, iovcnt);
if (!v) {
return -1;
}
if (!v) {
return -1;
}