1 | //===-- Uio.h ---------------------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef liblldb_Host_linux_Uio_h_ |
10 | #define liblldb_Host_linux_Uio_h_ |
11 | |
12 | #include "lldb/Host/Config.h" |
13 | #include <sys/uio.h> |
14 | |
15 | // We shall provide our own implementation of process_vm_readv if it is not |
16 | // present |
17 | #if !HAVE_PROCESS_VM_READV |
18 | ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov, |
19 | unsigned long liovcnt, const struct iovec *remote_iov, |
20 | unsigned long riovcnt, unsigned long flags); |
21 | #endif |
22 | |
23 | #endif // liblldb_Host_linux_Uio_h_ |
24 | |