From 3844ccfcf176f5d3efd9df040f9134402b8f4d76 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 8 May 1995 15:18:32 +0000 Subject: Recuperation de libunix de CL0.7 git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/unix/time.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 otherlibs/unix/time.c (limited to 'otherlibs/unix/time.c') 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 +#include "unix.h" + +extern long time(); + +value unix_time() /* ML */ +{ + return Val_long(time((long *) NULL)); +} -- cgit v1.2.3-70-g09d2