T: new function 'bps'

This function is used to print rates (say '1kb/s' or '16Mb/s').
This commit is contained in:
Cedric Roux
2016-12-05 15:08:27 +01:00
parent d7831c1f57
commit 031a72de7d
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
void new_thread(void *(*f)(void *), void *data);
void sleepms(int ms);
void bps(char *out, float v, char *suffix);
/****************************************************************************/
/* list */