ref: 70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1 dir: /sys/src/libc/9sys/time.c/
#include <u.h> #include <libc.h> long time(long *tp) { vlong t; t = nsec()/1000000000LL; if(tp != nil) *tp = t; return t; }