Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | //===-- Definition of struct sockaddr_un ----------------------------------===// |
|---|---|
| 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 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H |
| 10 | #define LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H |
| 11 | |
| 12 | #include "sa_family_t.h" |
| 13 | |
| 14 | // This is the sockaddr specialization for AF_UNIX or AF_LOCAL sockets, as |
| 15 | // defined by posix. |
| 16 | |
| 17 | struct sockaddr_un { |
| 18 | sa_family_t sun_family; /* AF_UNIX */ |
| 19 | char sun_path[108]; /* Pathname */ |
| 20 | }; |
| 21 | |
| 22 | #endif // LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H |
| 23 |
Warning: This file is not a C or C++ file. It does not have highlighting.
