1 2 3 4 5 6 7 8 9
#include <mlvalues.h> #include "unix.h" extern long time(); value unix_time() /* ML */ { return Val_long(time((long *) NULL)); }