| /src/games/warp/ |
| util.h | 18 /* we get fractions of seconds from calling ftime on timebuf */ 20 extern struct timespec timebuf; 21 #define roundsleep(x) (clock_gettime(CLOCK_REALTIME, &timebuf),sleep(timebuf.tv_nsec > (500 * 1000 * 1000) ?x+1:x))
|
| util.c | 24 struct timespec timebuf; variable in typeref:struct:timespec
|
| /src/usr.bin/finger/ |
| lprint.c | 177 char timebuf[128], ttybuf[64], hostbuf[512]; local 206 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s, %s", 208 oddfield = demi_print(timebuf, oddfield); 211 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s", 213 oddfield = demi_print(timebuf, oddfield); 216 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s", 218 oddfield = demi_print(timebuf, oddfield) [all...] |
| /src/lib/libwrap/ |
| rfc931.c | 45 static jmp_buf timebuf; variable 75 longjmp(timebuf, sig); 147 if (setjmp(timebuf) == 0) {
|
| /src/usr.bin/ftp/ |
| util.c | 712 struct tm timebuf; local 745 memset(&timebuf, 0, sizeof(timebuf)); 747 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) { 752 timebuf.tm_isdst = -1; 753 rtime = timegm(&timebuf);
|