| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| /// | |
| /// \file | |
| /// Implementation header for process_vm_writev. | |
| /// | |
| //===----------------------------------------------------------------------===// | |
| #ifndef LLVM_LIBC_SRC_SYS_UIO_PROCESS_VM_WRITEV_H | |
| #define LLVM_LIBC_SRC_SYS_UIO_PROCESS_VM_WRITEV_H | |
| #include "hdr/types/pid_t.h" | |
| #include "hdr/types/ssize_t.h" | |
| #include "hdr/types/struct_iovec.h" | |
| #include "src/__support/macros/config.h" | |
| namespace LIBC_NAMESPACE_DECL { | |
| ssize_t process_vm_writev(pid_t pid, const struct iovec *local_iov, | |
| unsigned long liovcnt, const struct iovec *remote_iov, | |
| unsigned long riovcnt, unsigned long flags); | |
| } // namespace LIBC_NAMESPACE_DECL | |
| #endif // LLVM_LIBC_SRC_SYS_UIO_PROCESS_VM_WRITEV_H |