Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | //===-- Definition of sa_family_t type ------------------------------------===// |
|---|---|
| 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_SA_FAMILY_T_H |
| 10 | #define LLVM_LIBC_TYPES_SA_FAMILY_T_H |
| 11 | |
| 12 | // The posix standard only says of sa_family_t that it must be unsigned. The |
| 13 | // linux man page for "address_families" lists approximately 32 different |
| 14 | // address families, meaning that a short 16 bit number will have plenty of |
| 15 | // space for all of them. |
| 16 | |
| 17 | typedef unsigned short sa_family_t; |
| 18 | |
| 19 | #endif // LLVM_LIBC_TYPES_SA_FAMILY_T_H |
| 20 |
Warning: This file is not a C or C++ file. It does not have highlighting.
