linux-syscalls.h
Go to the documentation of this file.
1 /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to
5  * deal in the Software without restriction, including without limitation the
6  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7  * sell copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19  * IN THE SOFTWARE.
20  */
21 
22 #ifndef UV_LINUX_SYSCALL_H_
23 #define UV_LINUX_SYSCALL_H_
24 
25 #undef _GNU_SOURCE
26 #define _GNU_SOURCE
27 
28 #include <stdint.h>
29 #include <signal.h>
30 #include <sys/types.h>
31 #include <sys/time.h>
32 #include <sys/socket.h>
33 
38 };
39 
40 struct uv__statx {
62 };
63 
64 ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset);
65 ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset);
66 int uv__dup3(int oldfd, int newfd, int flags);
67 int uv__statx(int dirfd,
68  const char* path,
69  int flags,
70  unsigned int mask,
71  struct uv__statx* statxbuf);
72 ssize_t uv__getrandom(void* buf, size_t buflen, unsigned flags);
73 
74 #endif /* UV_LINUX_SYSCALL_H_ */
uv__dup3
int uv__dup3(int oldfd, int newfd, int flags)
Definition: linux-syscalls.c:174
uint16_t
unsigned short uint16_t
Definition: stdint-msvc2008.h:79
uv__statx_timestamp::tv_sec
int64_t tv_sec
Definition: linux-syscalls.h:35
uv__statx::stx_attributes_mask
uint64_t stx_attributes_mask
Definition: linux-syscalls.h:52
uv__statx_timestamp::tv_nsec
uint32_t tv_nsec
Definition: linux-syscalls.h:36
buf
voidpf void * buf
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
uv__statx_timestamp::unused0
int32_t unused0
Definition: linux-syscalls.h:37
uv__statx::stx_atime
struct uv__statx_timestamp stx_atime
Definition: linux-syscalls.h:53
check_documentation.path
path
Definition: check_documentation.py:57
uv__statx
Definition: linux-syscalls.h:40
uv__statx::stx_ino
uint64_t stx_ino
Definition: linux-syscalls.h:49
uv__statx::stx_gid
uint32_t stx_gid
Definition: linux-syscalls.h:46
iov
static uv_buf_t iov
Definition: libuv/docs/code/uvcat/main.c:15
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
uv__statx::stx_dev_minor
uint32_t stx_dev_minor
Definition: linux-syscalls.h:60
ssize_t
intptr_t ssize_t
Definition: win.h:27
uv__statx::stx_dev_major
uint32_t stx_dev_major
Definition: linux-syscalls.h:59
int64_t
signed __int64 int64_t
Definition: stdint-msvc2008.h:89
uv__getrandom
ssize_t uv__getrandom(void *buf, size_t buflen, unsigned flags)
Definition: linux-syscalls.c:199
uv__statx
int uv__statx(int dirfd, const char *path, int flags, unsigned int mask, struct uv__statx *statxbuf)
Definition: linux-syscalls.c:183
uv__pwritev
ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset)
Definition: linux-syscalls.c:165
uint64_t
unsigned __int64 uint64_t
Definition: stdint-msvc2008.h:90
uv__statx::unused1
uint64_t unused1[14]
Definition: linux-syscalls.h:61
uv__statx::stx_mtime
struct uv__statx_timestamp stx_mtime
Definition: linux-syscalls.h:56
uv__statx::stx_uid
uint32_t stx_uid
Definition: linux-syscalls.h:45
stdint.h
uv__statx::stx_size
uint64_t stx_size
Definition: linux-syscalls.h:50
iovec
Definition: gsec.h:33
uv__statx::stx_ctime
struct uv__statx_timestamp stx_ctime
Definition: linux-syscalls.h:55
uv__statx::stx_nlink
uint32_t stx_nlink
Definition: linux-syscalls.h:44
uv__statx::unused0
uint16_t unused0
Definition: linux-syscalls.h:48
absl::flags_internal
Definition: abseil-cpp/absl/flags/commandlineflag.h:40
uv__statx::stx_attributes
uint64_t stx_attributes
Definition: linux-syscalls.h:43
uv__statx::stx_btime
struct uv__statx_timestamp stx_btime
Definition: linux-syscalls.h:54
uv__statx::stx_rdev_minor
uint32_t stx_rdev_minor
Definition: linux-syscalls.h:58
uv__statx_timestamp
Definition: linux-syscalls.h:34
uv__preadv
ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset)
Definition: linux-syscalls.c:156
uv__statx::stx_mask
uint32_t stx_mask
Definition: linux-syscalls.h:41
uv__statx::stx_blocks
uint64_t stx_blocks
Definition: linux-syscalls.h:51
int32_t
signed int int32_t
Definition: stdint-msvc2008.h:77
uv__statx::stx_rdev_major
uint32_t stx_rdev_major
Definition: linux-syscalls.h:57
uv__statx::stx_blksize
uint32_t stx_blksize
Definition: linux-syscalls.h:42
uv__statx::stx_mode
uint16_t stx_mode
Definition: linux-syscalls.h:47
offset
voidpf uLong offset
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:142


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:28