Home
last modified time | relevance | path

Searched refs:seconds_idle (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dpinky.c151 time_t seconds_idle; in idle_string() local
156 seconds_idle = now - when; in idle_string()
157 if (seconds_idle < 60) /* One minute. */ in idle_string()
159 if (seconds_idle < (24 * 60 * 60)) /* One day. */ in idle_string()
161 int hours = seconds_idle / (60 * 60); in idle_string()
162 int minutes = (seconds_idle % (60 * 60)) / 60; in idle_string()
167 intmax_t days = seconds_idle / (24 * 60 * 60); in idle_string()
Dwho.c193 int seconds_idle; in idle_string() local
195 && ! ckd_sub (&seconds_idle, now, when) in idle_string()
196 && seconds_idle < 24 * 60 * 60) in idle_string()
198 if (seconds_idle < 60) in idle_string()
204 seconds_idle / (60 * 60), in idle_string()
205 (seconds_idle % (60 * 60)) / 60); in idle_string()