diff --git a/funcs.h b/funcs.h index 29556fe..057594b 100644 --- a/funcs.h +++ b/funcs.h @@ -1,8 +1,13 @@ /* - * funcs.c + * funcs.c */ +/* return an in random value in [0.999] */ int random1000(int mode); -double dtime(void); -int get_loadavg(double *where); + +/* get the 'timeofday' as a double float */ +double dtime(void); + +/* only usable on standard Linux ! */ +int get_loadavg(double where[]);