[flang] Use object before converts in fir.dispatch (#68589)
[llvm-project.git] / libc / include / llvm-libc-types / struct_sockaddr.h
blob1ef907904ca3ec182ce2cec3bbceccdbae16c18c
1 //===-- Definition of struct stat -----------------------------------------===//
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_STAT_H__
10 #define __LLVM_LIBC_TYPES_STRUCT_STAT_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[1];
21 #endif // __LLVM_LIBC_TYPES_STRUCT_STAT_H__