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