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