Lines Matching refs:pw_secs
1608 int pw_days=0, pw_hrs=0, pw_mins=0, pw_secs=0; /* for pwpolicy */ local
1641 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 ) {
1652 pw_mins = ( pw_secs / 60 );
1653 pw_secs = ( pw_secs % 60 );
1666 printf(gettext("%d seconds.\n"), pw_secs);