diff options
Diffstat (limited to 'otherlibs/unix/time.c')
-rw-r--r-- | otherlibs/unix/time.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/otherlibs/unix/time.c b/otherlibs/unix/time.c new file mode 100644 index 000000000..5cf811b47 --- /dev/null +++ b/otherlibs/unix/time.c @@ -0,0 +1,9 @@ +#include <mlvalues.h> +#include "unix.h" + +extern long time(); + +value unix_time() /* ML */ +{ + return Val_long(time((long *) NULL)); +} |