xref: /haiku/headers/posix/div_t.h (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
1 /*
2  * Copyright 2002-2005, Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _DIV_T_H_
6 #define _DIV_T_H_
7 
8 typedef struct {
9 	int	quot;
10 	int	rem;
11 } div_t;
12 
13 typedef struct {
14 	long quot;
15 	long rem;
16 } ldiv_t;
17 
18 typedef struct {
19 	long long quot;
20 	long long rem;
21 } lldiv_t;
22 
23 #endif /* _DIV_T_H_ */
24