aboutsummaryrefslogtreecommitdiff
path: root/trand.h
diff options
context:
space:
mode:
authorSaltyMilk <soufiane.elmelcaoui@gmail.com>2020-07-03 21:13:48 +0200
committerSaltyMilk <soufiane.elmelcaoui@gmail.com>2020-07-03 21:13:48 +0200
commitc4dabb4b5079a24b5ef653aa8752cc3cb01fafb2 (patch)
tree27437694d0cebe8a2638eb85036a4586d9a6f1f8 /trand.h
downloadtrand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.tar.gz
trand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.tar.bz2
trand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.zip
initial commit
Diffstat (limited to 'trand.h')
-rw-r--r--trand.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/trand.h b/trand.h
new file mode 100644
index 0000000..7286c45
--- /dev/null
+++ b/trand.h
@@ -0,0 +1,16 @@
+#ifndef TRAND_H
+ #define TRAND_H
+
+ #ifndef DEF_NTHREAD
+ #define DEF_NTHREAD 4
+ #endif
+
+#include <pthread.h>
+#include <time.h>
+#include <stdlib.h>
+
+int ntrand(unsigned long long n);
+int trand();
+int strand();
+
+#endif