HelenOS sources
HOUR 226 uspace/app/stats/stats.c NAME, uptime.tv_sec / DAY, (uptime.tv_sec % DAY) / HOUR,
HOUR 227 uspace/app/stats/stats.c (uptime.tv_sec % HOUR) / MINUTE, uptime.tv_sec % MINUTE);
HOUR 159 uspace/app/top/top.c target->hours = (time.tv_sec % DAY) / HOUR;
HOUR 160 uspace/app/top/top.c target->minutes = (time.tv_sec % HOUR) / MINUTE;
HOUR 168 uspace/app/top/top.c target->uhours = (uptime.tv_sec % DAY) / HOUR;
HOUR 169 uspace/app/top/top.c target->uminutes = (uptime.tv_sec % HOUR) / MINUTE;
HOUR 160 uspace/dist/src/c/demos/top/top.c target->hours = (time.tv_sec % DAY) / HOUR;
HOUR 161 uspace/dist/src/c/demos/top/top.c target->minutes = (time.tv_sec % HOUR) / MINUTE;
HOUR 169 uspace/dist/src/c/demos/top/top.c target->uhours = (uptime.tv_sec % DAY) / HOUR;
HOUR 170 uspace/dist/src/c/demos/top/top.c target->uminutes = (uptime.tv_sec % HOUR) / MINUTE;
HelenOS homepage, sources at GitHub