aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rwho
Commit message (Collapse)AuthorAgeFilesLines
* Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring.Mark Murray2002-07-011-12/+13
| | | | | | | Fix easy warnings. Notes: svn path=/head/; revision=99218
* remove __PWarner Losh2002-03-221-2/+2
| | | | Notes: svn path=/head/; revision=92921
* I've been meaning to do this for a while. Add an underscore to theMatthew Dillon2002-01-191-1/+1
| | | | | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee. Notes: svn path=/head/; revision=89572
* Fix time_t == int assumption, convert protocol int to time_t.Matthew Dillon2001-10-281-1/+2
| | | | Notes: svn path=/head/; revision=85639
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* Don't attempt to parse %cAndrey A. Chernov2001-03-211-3/+9
| | | | Notes: svn path=/head/; revision=74593
* Get rid of hard sentence breakPhilippe Charnier2000-03-271-2/+3
| | | | | | | Asked by: Sheldon Notes: svn path=/head/; revision=58704
* Add section number to .Xr references. Enumerate flags the standard way.Philippe Charnier2000-03-261-8/+9
| | | | Notes: svn path=/head/; revision=58623
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Fixed typo.Foxfair Hu1998-12-201-1/+1
| | | | Notes: svn path=/head/; revision=41949
* Be picky about the format of the commandline and cleanupSteve Price1998-05-031-6/+16
| | | | | | | | | | a warning related to qsort. PR: 6420 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> Notes: svn path=/head/; revision=35659
* Use err(3). Add usage() and prototypes. Add Xr to who(1).Philippe Charnier1997-08-082-20/+34
| | | | Notes: svn path=/head/; revision=27978
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Fix my error from previous commit with mixing rwhod protocolAndrey A. Chernov1996-12-051-7/+8
| | | | | | | | and utmp sizes. Replace hardcoded constants by sizeofs or symbolic constants Notes: svn path=/head/; revision=20165
* Use UT_* contstants when possible instead of harcoded 8Andrey A. Chernov1996-12-051-8/+9
| | | | | | | 2.2 candidate Notes: svn path=/head/; revision=20156
* Eliminated includes of the "temporary" backwards compatibility headerBruce Evans1996-09-241-2/+2
| | | | | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones. Notes: svn path=/head/; revision=18485
* Fix some incorrect locations in the FILES sections of some man pages.Mike Pritchard1996-02-021-1/+1
| | | | Notes: svn path=/head/; revision=13851
* Add setlocale LT_TIMEAndrey A. Chernov1995-10-241-0/+3
| | | | Notes: svn path=/head/; revision=11758
* Change ctime to strftime %c to use national date/time representation.Andrey A. Chernov1995-08-081-3/+5
| | | | Notes: svn path=/head/; revision=9992
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8874
* My prevoius commit missed some things. The out_line didn't needAndreas Schulz1994-12-271-2/+3
| | | | | | | | | | | | | to be padded to 8 chars. Simply make sure that never more than 8 chars are printed ( %-.8s ). The former commit otherwise hosed the width calculation and landed on different positions for the time output. Also the strlen(xx_out_line) hoses the wide calculation, so that it sometimes make it much larger than necessary. Simply use always 8 chars for the out_line calculation now. Looks good this way. Notes: svn path=/head/; revision=5239
* The out_line doesn't need to be zero terminated, so print it not with %sAndreas Schulz1994-12-261-1/+1
| | | | | | | | but with a %-8.8s instead. this prevents funny output, if the out_line contains a long hostname that is larger than 8 chars. Notes: svn path=/head/; revision=5235
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+269
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590