Go to the documentation of this file.
25 #include <sys/syscall.h>
26 #include <sys/types.h>
30 # if defined(__thumb__) || defined(__ARM_EABI__)
31 # define UV_SYSCALL_BASE 0
33 # define UV_SYSCALL_BASE 0x900000
38 # if defined(__x86_64__)
39 # define __NR_recvmmsg 299
40 # elif defined(__i386__)
41 # define __NR_recvmmsg 337
42 # elif defined(__arm__)
43 # define __NR_recvmmsg (UV_SYSCALL_BASE + 365)
48 # if defined(__x86_64__)
49 # define __NR_sendmmsg 307
50 # elif defined(__i386__)
51 # define __NR_sendmmsg 345
52 # elif defined(__arm__)
53 # define __NR_sendmmsg (UV_SYSCALL_BASE + 374)
57 #ifndef __NR_utimensat
58 # if defined(__x86_64__)
59 # define __NR_utimensat 280
60 # elif defined(__i386__)
61 # define __NR_utimensat 320
62 # elif defined(__arm__)
63 # define __NR_utimensat (UV_SYSCALL_BASE + 348)
68 # if defined(__x86_64__)
69 # define __NR_preadv 295
70 # elif defined(__i386__)
71 # define __NR_preadv 333
72 # elif defined(__arm__)
73 # define __NR_preadv (UV_SYSCALL_BASE + 361)
78 # if defined(__x86_64__)
79 # define __NR_pwritev 296
80 # elif defined(__i386__)
81 # define __NR_pwritev 334
82 # elif defined(__arm__)
83 # define __NR_pwritev (UV_SYSCALL_BASE + 362)
88 # if defined(__x86_64__)
89 # define __NR_dup3 292
90 # elif defined(__i386__)
91 # define __NR_dup3 330
92 # elif defined(__arm__)
93 # define __NR_dup3 (UV_SYSCALL_BASE + 358)
98 # if defined(__x86_64__)
99 # define __NR_statx 332
100 # elif defined(__i386__)
101 # define __NR_statx 383
102 # elif defined(__aarch64__)
103 # define __NR_statx 397
104 # elif defined(__arm__)
105 # define __NR_statx (UV_SYSCALL_BASE + 397)
106 # elif defined(__ppc__)
107 # define __NR_statx 383
108 # elif defined(__s390__)
109 # define __NR_statx 379
113 #ifndef __NR_getrandom
114 # if defined(__x86_64__)
115 # define __NR_getrandom 318
116 # elif defined(__i386__)
117 # define __NR_getrandom 355
118 # elif defined(__aarch64__)
119 # define __NR_getrandom 384
120 # elif defined(__arm__)
121 # define __NR_getrandom (UV_SYSCALL_BASE + 384)
122 # elif defined(__ppc__)
123 # define __NR_getrandom 359
124 # elif defined(__s390__)
125 # define __NR_getrandom 349
132 struct uv__mmsghdr* mmsg,
134 unsigned int flags) {
135 #if defined(__NR_sendmmsg)
138 return errno = ENOSYS, -1;
144 struct uv__mmsghdr* mmsg,
148 #if defined(__NR_recvmmsg)
151 return errno = ENOSYS, -1;
157 #if defined(__NR_preadv)
160 return errno = ENOSYS, -1;
166 #if defined(__NR_pwritev)
169 return errno = ENOSYS, -1;
175 #if defined(__NR_dup3)
178 return errno = ENOSYS, -1;
191 #if defined(__NR_statx) && !defined(__ANDROID__)
194 return errno = ENOSYS, -1;
200 #if defined(__NR_getrandom)
203 return errno = ENOSYS, -1;
ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset)
int uv__statx(int dirfd, const char *path, int flags, unsigned int mask, struct uv__statx *statxbuf)
int uv__recvmmsg(int fd, struct uv__mmsghdr *mmsg, unsigned int vlen, unsigned int flags, struct timespec *timeout)
int uv__sendmmsg(int fd, struct uv__mmsghdr *mmsg, unsigned int vlen, unsigned int flags)
int uv__dup3(int oldfd, int newfd, int flags)
ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset)
ssize_t uv__getrandom(void *buf, size_t buflen, unsigned flags)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:28