Searched refs:pw_secs (Results 1 – 1 of 1) sorted by relevance
1608 int pw_days=0, pw_hrs=0, pw_mins=0, pw_secs=0; /* for pwpolicy */ local1641 pw_secs = atoi(ctrls[i]->ldctl_value.bv_val);1642 if ( pw_secs > 0 && errno != ERANGE ) {1643 if ( pw_secs > 86400 ) {1644 pw_days = ( pw_secs / 86400 );1645 pw_secs = ( pw_secs % 86400 );1647 if ( pw_secs > 3600 ) {1648 pw_hrs = ( pw_secs / 3600 );1649 pw_secs = ( pw_secs % 3600 );1651 if ( pw_secs > 60 ) {[all …]