Searched refs:clock_val (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/date/
H A Ddate.c65 static time_t clock_val; variable
139 clock_val = ts.tv_sec;
153 if (setdate(localtime(&clock_val), argv[0])) {
169 tp = gmtime(&clock_val);
171 tp = localtime(&clock_val);
274 for (clock_val = 0, i = 1970; i < yy; i++)
275 clock_val += year_size(i);
278 clock_val += 1;
281 clock_val += (time_t)month_size[mm - 1];
283 clock_val
[all...]
/illumos-gate/usr/src/cmd/rtc/
H A Drtc.c48 static time_t clock_val; variable
181 (void) time(&clock_val);
183 tm = localtime(&clock_val);
217 (void) time(&clock_val);
218 tm = localtime(&clock_val);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c916 time_t clock_val; local
920 (void) time(&clock_val);
921 atm = localtime(&clock_val);
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_server.c528 time_t clock_val; local
556 (void) time(&clock_val);
557 commd_debug(MD_MMV_MISC, "global init called %s\n", ctime(&clock_val));

Completed in 107 milliseconds