Permalink
Browse files

docs

  • Loading branch information...
1 parent bb699a5 commit 18ea7cc49390791b7468311ae61dff123404804e @tj tj committed Apr 12, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 Readme.md
View
@@ -4,12 +4,17 @@
```c
#define strtous string_to_microseconds
#define strtoms string_to_milliseconds
+#define mstostr milliseconds_to_string
+#define mstolstr milliseconds_to_long_string
long long
string_to_microseconds(const char *str);
long long
string_to_milliseconds(const char *str);
+
+char *
+milliseconds_to_string(long long ms);
```
For usage view the [tests](https://github.com/visionmedia/ms.c/blob/master/ms.c#L52)

0 comments on commit 18ea7cc

Please sign in to comment.