summaryrefslogtreecommitdiff
path: root/src/stdlib/div_t.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
commit77d0069e522400b63c2182fcc5f852718e4e6f2c (patch)
tree6713710011e6e24ebc589d4fa32093e5af329afc /src/stdlib/div_t.h
parent896e28812c51b9ffdf3efc00c7d7ef699e380a58 (diff)
rename files that should never be compiled on their own to .h
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)
+*/