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