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