summaryrefslogtreecommitdiff
path: root/src/stdlib/div_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/div_t.h')
-rw-r--r--src/stdlib/div_t.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stdlib/div_t.h b/src/stdlib/div_t.h
new file mode 100644
index 00000000..7d17ddf2
--- /dev/null
+++ b/src/stdlib/div_t.h
@@ -0,0 +1,15 @@
+typedef struct {
+ int quot;
+ int rem;
+} div_t;
+
+/** quotient and remainder **/
+
+/***
+is the type returned by FUNCTION(div) to hold both the quotient and remainder
+of an integer division.
+***/
+
+/*
+STDC(1)
+*/