From 7ef8a7379f7f7d09e71ccae2a0b688c3cd80423f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 8 Feb 2019 18:42:39 -0500 Subject: merge sources into single tree --- src/stdlib/ldiv_t.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/stdlib/ldiv_t.c (limited to 'src/stdlib/ldiv_t.c') diff --git a/src/stdlib/ldiv_t.c b/src/stdlib/ldiv_t.c new file mode 100644 index 00000000..00161cf6 --- /dev/null +++ b/src/stdlib/ldiv_t.c @@ -0,0 +1,17 @@ +#include + +/** long quotient and remainder **/ + +typedef struct { + long int quot; + long int rem; +} ldiv_t; + +/*** +is the type returned by FUNCTION(ldiv) to hold both the quotient and remainder +of an integer division. +***/ + +/* +STDC(1) +*/ -- cgit v1.2.1