xref: /llvm-project/libc/src/sys/socket/sendmsg.h (revision f6b4c34d4f96ca705409f76b9bb48de7d2bec9bd)
1*f6b4c34dSMichael Jones //===-- Implementation header for sendmsg -----------------------*- C++ -*-===//
2*f6b4c34dSMichael Jones //
3*f6b4c34dSMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*f6b4c34dSMichael Jones // See https://llvm.org/LICENSE.txt for license information.
5*f6b4c34dSMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*f6b4c34dSMichael Jones //
7*f6b4c34dSMichael Jones //===----------------------------------------------------------------------===//
8*f6b4c34dSMichael Jones 
9*f6b4c34dSMichael Jones #ifndef LLVM_LIBC_SRC_SYS_SOCKET_SENDMSG_H
10*f6b4c34dSMichael Jones #define LLVM_LIBC_SRC_SYS_SOCKET_SENDMSG_H
11*f6b4c34dSMichael Jones 
12*f6b4c34dSMichael Jones #include "hdr/types/ssize_t.h"
13*f6b4c34dSMichael Jones #include "hdr/types/struct_msghdr.h"
14*f6b4c34dSMichael Jones #include "src/__support/macros/config.h"
15*f6b4c34dSMichael Jones 
16*f6b4c34dSMichael Jones namespace LIBC_NAMESPACE_DECL {
17*f6b4c34dSMichael Jones 
18*f6b4c34dSMichael Jones ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags);
19*f6b4c34dSMichael Jones 
20*f6b4c34dSMichael Jones } // namespace LIBC_NAMESPACE_DECL
21*f6b4c34dSMichael Jones 
22*f6b4c34dSMichael Jones #endif // LLVM_LIBC_SRC_SYS_SOCKET_SENDMSG_H
23