Searched defs:ptm (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/logins/
H A Dlogins.c659 struct tm *ptm; /* Pointer to a time-of-day structure */ local
745 ptm = localtime(&pwchg);
746 ppasswd->datechg = ((long)(ptm->tm_mon+1) * 10000L) +
747 (long)((ptm->tm_mday * 100) +
748 (ptm->tm_year % 100));
761 ptm = localtime(&pwexp);
762 ppasswd->expdate = ((long)(ptm->tm_mon+1) * 10000L) +
763 (long)((ptm->tm_mday * 100) +
764 (ptm->tm_year % 100));
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c1546 const struct tm *ptm; local
1561 ptm = localtime(&basedate->tv_sec);
1562 ptime = asctime(ptm);
1563 if ((pdst = tzname[ptm->tm_isdst ? 1 : 0]) == NULL)

Completed in 51 milliseconds