aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/linux/Uio.h
blob: 08894c0a2ca858d6864fdd969aa6c34acd6ba3e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===-- Uio.h ---------------------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef liblldb_Host_linux_Uio_h_
#define liblldb_Host_linux_Uio_h_

#include <sys/uio.h>

// We shall provide our own implementation of process_vm_readv if it is not present
#ifndef HAVE_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);
#endif

#endif // liblldb_Host_linux_Uio_h_