Bump version to 19.1.0 (final)
[llvm-project.git] / libc / include / llvm-libc-types / struct_sockaddr.h
bloba98606323c52208f0709b48e74fc570f4b250ddd
1 //===-- Definition of struct sockaddr -------------------------------------===//
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H
10 #define LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H
12 #include "llvm-libc-types/sa_family_t.h"
14 struct sockaddr {
15 sa_family_t sa_family;
16 // sa_data is a variable length array. It is provided with a length of one
17 // here as a placeholder.
18 char sa_data[];
21 #endif // LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H