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