summaryrefslogtreecommitdiff
path: root/src/uptime.c
AgeCommit message (Collapse)Author
2002-07-15(print_uptime): Use STREQ in place of !strcmp.Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-05-03(print_uptime): Fix last change so that we use ngettext properly.Jim Meyering
2002-05-03(print_uptime): Use ngettext for day/days and user/users.Jim Meyering
Suggestion from Karl Eichwalder.
2001-12-15Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf.
2001-08-14(AUTHORS): Mark string for translation, since it contains the English word ↵Jim Meyering
`and'.
2000-11-17Explicitly include sys/types.h before including system.h.Jim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-03-18(print_uptime): Use `buf' only if fgets succeeds.Jim Meyering
2000-02-05Use UT_USER in place of hard-coded `->ut_name' here, too.Jim Meyering
1999-05-10(AUTHORS): Reflect reality: add Kaveh.Jim Meyering
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-11Declare getloadavg so I can build with -Werror.Jim Meyering
1999-03-06Include long-options.h.Jim Meyering
[long_options]: Remove the "help" and "version" entries. Remove declarations of show_help and show_version. (main): Use parse_long_options, including author name(s). Remove the show_version and show_help blocks.
1999-02-08Include stdio.h.Jim Meyering
1999-01-31(print_uptime): Use the C numeric locale for sscanfJim Meyering
of /proc/uptime data, then restore.
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-08-11*** empty log message ***Jim Meyering
1998-08-11(usage): Correct description. Reported by John Murphy.Jim Meyering
1998-06-29Include system.h only after error.h and readutmp.hJim Meyering
so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names.
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1997-10-07update bug-reporting addressJim Meyering
1997-07-13(uptime): Update read_utmp caller.Jim Meyering
1997-07-13Add FIXME.Jim Meyering
indent
1997-07-13(uptime): rename users to n_usersJim Meyering
1997-07-13.Jim Meyering