diff options
| author | SaltyMilk <soufiane.elmelcaoui@gmail.com> | 2020-07-03 21:13:48 +0200 |
|---|---|---|
| committer | SaltyMilk <soufiane.elmelcaoui@gmail.com> | 2020-07-03 21:13:48 +0200 |
| commit | c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2 (patch) | |
| tree | 27437694d0cebe8a2638eb85036a4586d9a6f1f8 /trand.h | |
| download | trand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.tar.gz trand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.tar.bz2 trand-c4dabb4b5079a24b5ef653aa8752cc3cb01fafb2.zip | |
initial commit
Diffstat (limited to 'trand.h')
| -rw-r--r-- | trand.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |
