aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* top(1): Migrate top to usr.binEitan Adler2018-05-191-508/+0
| | | | | | | | | | | | | | | | We've been maintaining top(1) for a long time, and the upstream hasn't existed/been used in similarly as long. Make it clear that we own top(1) Tested with 'make universe'. Everything passed except MIPS which failed for unrelated reasons. Install also tested for amd64. Reviewed by: sbruno No objections: imp, mmacy Differential Revision: https://reviews.freebsd.org/D15387 Notes: svn path=/head/; revision=333898
* add an assert in case the sizeof int ever becomes bigger.. Then we willJohn-Mark Gurney2015-02-111-0/+1
| | | | | | | | | have issues, at least we'll know where one of them are.. Submitted by: Erich Dollansky Notes: svn path=/head/; revision=278560
* Fix brokenness in top on big-endian 32-bit systems introduced whenNathan Whitehorn2010-04-191-1/+1
| | | | | | | | | | changing format_k2 to take a long long. Because itoa is defined as a K&R C function, without prototyping its arguments, format_k2 passed a 64-bit value, but itoa() received only the first word, showing '0' in all memory fields. Notes: svn path=/head/; revision=206842
* Change the 'amt' parameter in format_k2 from int to unsigned long longRebecca Cran2010-03-131-1/+1
| | | | | | | | | | | | to match the values passed in and prevent the SIZE field being corrupted when more than 2TB is allocated. PR: bin/129706 Approved by: rrs (mentor) MFC after: 1 week Notes: svn path=/head/; revision=205119
* Resolve conflicts.David Malone2002-01-241-5/+25
| | | | Notes: svn path=/head/; revision=89758
* Fixed printf format errors.Bruce Evans1998-07-061-1/+2
| | | | Notes: svn path=/head/; revision=37453
* Apply the FreeBSD-local patches.Joerg Wunsch1997-03-231-7/+40
| | | | | | | Obtained from: The ports collection. Notes: svn path=/head/; revision=24142
* This is the long-awaited import of top into the base system (actually,vendor/top/3.4Joerg Wunsch1997-03-231-0/+453
the src/contrib/top part right now). This tools is simply too system- dependant to maintain it in the ports collection. Notes: svn path=/vendor/top/dist/; revision=24139 svn path=/vendor/top/3.4/; revision=24141; tag=vendor/top/3.4