xref: /llvm-project/libc/include/llvm-libc-types/imaxdiv_t.h (revision 284cd693f1c695a4ae9c8de7e3ada645eb19d22b)
1 //===-- Definition of type imaxdiv_t --------------------------------------===//
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_IMAXDIV_T_H__
10 #define __LLVM_LIBC_TYPES_IMAXDIV_T_H__
11 
12 typedef struct {
13   intmax_t quot;
14   intmax_t rem;
15 } imaxdiv_t;
16 
17 #endif // __LLVM_LIBC_TYPES_IMAXDIV_T_H__
18