LLDB  mainline
Uio.h
Go to the documentation of this file.
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_
process_vm_readv
ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags)
Definition: linux/LibcGlue.cpp:18
lldb::pid_t
uint64_t pid_t
Definition: lldb-types.h:85