Searched refs:tnow (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | logger.c | 144 struct timeval tnow; local 174 gettimeofday (&tnow, &tzone); 175 tlocaltime = localtime (&tnow.tv_sec); 181 snprintf (logmsg, sizeof(logmsg), "[%d]: %s.%03d %s %s:%d: %s\n", pid, tbuf, (int)(tnow.tv_usec/1000), pri, file, line, buf); 183 snprintf (logmsg, sizeof(logmsg), "%s.%03d %s %s:%d: %s\n", tbuf, (int)(tnow.tv_usec/1000), pri, file, line, buf); 215 struct timeval tnow; local 229 gettimeofday (&tnow, &tzone); 230 tlocaltime = localtime (&tnow.tv_sec); 234 syslog (LOG_INFO, "%d: %s.%03d: %s", pid, tbuf, (int)(tnow.tv_usec/1000), buf); 236 fprintf (stderr, "%d: %s.%03d: %s", pid, tbuf, (int)(tnow [all...] |
/osnet-11/usr/src/lib/libunistat/common/ |
H A D | spcs_log.c | 110 time_t tnow; local 112 tnow = time((time_t *)0); 113 cftime(timeptr, "%b %d %T", &tnow);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | ntsvcs_clnt.c | 1118 time_t tnow; local 1127 tnow = time(NULL); 1129 if (tnow > dc_tv.tv_sec) 1130 tdiff = (tnow - dc_tv.tv_sec) / SECSPERMIN; 1132 tdiff = (dc_tv.tv_sec - tnow) / SECSPERMIN; 1144 tm = gmtime(&tnow);
|
Completed in 36 milliseconds