ref: a38e9e1dc0e0957dcf1b4b4f14d49b79e80d65a3 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; }