| 395 | in UTMP_BUF, which should have N elements. */ |
| 396 | |
| 397 | static void |
| 398 | print_heading (void) |
| 399 | { |
| 400 | printf ("%-8s", _("Login")); |
| 401 | if (include_fullname) |
| 402 | printf (" %-19s", _("Name")); |
| 403 | printf (" %-9s", _(" TTY")); |
| 404 | if (include_idle) |
| 405 | printf (" %-6s", _("Idle")); |
| 406 | printf (" %-*s", time_format_width, _("When")); |
| 407 | #ifdef HAVE_STRUCT_XTMP_UT_HOST |
| 408 | if (include_where) |
| 409 | printf (" %s", _("Where")); |
| 410 | #endif |
| 411 | putchar ('\n'); |
| 412 | } |
| 413 | |
| 414 | /* Display UTMP_BUF, which should have N entries. */ |
| 415 |