diff options
Diffstat (limited to 'src/stdlib/div_t.c')
-rw-r--r-- | src/stdlib/div_t.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/stdlib/div_t.c b/src/stdlib/div_t.c new file mode 100644 index 00000000..60acd660 --- /dev/null +++ b/src/stdlib/div_t.c @@ -0,0 +1,17 @@ +#include <stdlib.h> + +/** quotient and remainder **/ + +typedef struct { + int quot; + int rem; +} div_t; + +/*** +is the type returned by FUNCTION(div) to hold both the quotient and remainder +of an integer division. +***/ + +/* +STDC(1) +*/ |