1 #include <u.h> 2 #include <libc.h> 3 4 extern int _nsec(vlong*); 5 6 vlong nsec(void)7 nsec(void) 8 { 9 vlong l; 10 11 if(_nsec(&l) < 0) 12 l = -1LL; 13 return l; 14 } 15