aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/w/w.c
Commit message (Expand)AuthorAgeFilesLines
* w: use locale-based string format specifiersYuri Pankov2020-06-211-3/+3
* Fix address annotation in xml output from wMike Karels2019-08-291-3/+5
* w: initialize save_p to silence 'may be used uninitilized'Bjoern A. Zeeb2019-08-221-0/+1
* Change w(1) to compute FROM (host) field size dynamicallyMike Karels2019-08-221-65/+80
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Fix singular/plural "users" output.Alexander Motin2017-07-271-1/+1
* Use nitems() from sys/param.h.Marcelo Araujo2017-03-101-2/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* When -n is specified, don't make bogus DNS queries. Instead,Hajimu UMEMOTO2016-09-021-3/+3
* w(1) is not setgid binary since r53279, so remove the setgid() call.Xin LI2015-09-091-11/+1
* Widen the host field so that a full IPv6 address will be seen.Mark Murray2015-07-141-1/+1
* Fix libxo output from uptime commandAllan Jude2015-04-161-7/+17
* Call xo_finish(3) before exiting in usage().Mark Johnston2015-03-091-0/+1
* Add xo_finish() to w.c in case it's invoked as uptimeMichael Gmelin2015-02-101-1/+3
* Fix text output for the uptime command.Marcel Moolenaar2014-11-111-1/+1
* Convert to use libxo.Marcel Moolenaar2014-11-051-28/+70
* don't reinvent the wheel: rely on basename(3)Eitan Adler2014-10-081-16/+2
* Revert r253748,253749Andriy Gapon2013-07-281-0/+1
* remove needless inclusion of machine/cpu.h in userlandAndriy Gapon2013-07-281-1/+0
* - Move 'showthreads' check out of fmt.c.John Baldwin2013-01-191-4/+3
* Set showthread = 0 for w(1).Xin LI2013-01-181-0/+1
* Use CLOCK_UPTIME to get the uptime.Ed Maste2012-10-121-1/+1
* Add missing static keywords to w(1)Ed Schouten2011-11-061-14/+13
* Only print entries for which ut_host points to a character device.Ed Schouten2011-07-051-1/+1
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
* Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allow...Rebecca Cran2010-02-081-1/+2
* Port w(1) to utmpx.Ed Schouten2010-01-131-5/+6
* Shuffle parens to avoid type-punning warning.David Malone2010-01-051-1/+1
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+3
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-3/+0
* Let w(1) use utmpx.Ed Schouten2009-12-061-29/+26
* When -n is specified, attempt to turn hostnames found in utmp into IPHajimu UMEMOTO2009-11-221-11/+31
* Fix the problem that the entry broke into two lines with multi-byteHajimu UMEMOTO2009-08-301-3/+4
* Use sysctlbynamePoul-Henning Kamp2006-05-111-6/+1
* Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec)Andre Oppermann2005-10-171-9/+3
* Use the ki_udata field that was recently-added to kinfo_proc, instead ofGarance A Drosehn2005-06-041-1/+1
* Do not print the result of strftime() in case of failure, the content isPhilippe Charnier2003-09-071-5/+3
* utmp.ut_time is not a time_t, do not pass a pointer to it to pr_attime().Peter Wemm2003-06-281-1/+4
* Fix warning when calling w(1) when logged in via xdm/kdm. This isSean Chittenden2002-08-231-4/+3
* ANSI style function declarations.Juli Mallett2002-06-071-13/+5
* remove __PWarner Losh2002-03-221-5/+5
* Back out part of rev 1.51. The lesser impact fix is to just removeDavid E. O'Brien2002-03-071-11/+10
* WARNS=2 fix, use __FBSDID() and sort includes.Mark Murray2001-12-111-33/+31
* Compensate for "Compensate for header dethreading" by backing it out.Bruce Evans2001-10-101-1/+0
* Fixing a bug that causes very short uptimes (less than one minute) toCrist J. Clark2001-09-221-1/+2
* When -n is specified, don't attempt to turn hostnames found in utmpBrian Somers2001-07-261-39/+38
* Call kvm_close() before exit for consistency.Poul-Henning Kamp2001-05-281-1/+4
* Fix the error buffer passed to kvm_openfiles to have a correct lengthThomas Moestl2001-05-261-1/+2
* Compensate for header dethreading.Mark Murray2001-05-011-0/+1
* Preserve comma as separator when it is not equal to radix characterAndrey A. Chernov2001-03-031-2/+7