summaryrefslogtreecommitdiffstats
path: root/sbin/sysctl/sysctl.c
Commit message (Expand)AuthorAgeFilesLines
* sysctl(8): make WARNS=3 cleanuqs2010-02-151-11/+17
* Add -i to usage()gavin2010-02-091-1/+1
* Implement the "-i" option to sysctl(8), to ignore failures whilegavin2010-01-311-3/+8
* Just use devname(3) to print device names.ed2009-11-031-8/+1
* Make input parsing in Farhenheit actually work.ed2009-10-211-5/+5
* time_t does not always fit into long, for instance on arm. So rather castjhay2009-06-231-3/+3
* The sysctl(8) program exits on some errors and only emits warnings onmtm2008-06-231-2/+5
* Backout sensors framework.netchild2007-10-151-140/+0
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-141-0/+140
* When we return from a "show" function without printing anything exceptbde2007-06-111-6/+6
* Some improvements to the int-type printing code based on suggestions by bde.dwmalone2007-06-101-17/+13
* Fix a number of WARNS, including printf, constness and unsigned comparisondwmalone2007-06-101-12/+13
* Some style improvements suggested by bde, including removing andwmalone2007-06-101-37/+36
* Use common code for printing ints and longs by coppying the sysctldwmalone2007-06-041-42/+42
* Style: Shorten a couple of lines with u_int and u_long.imp2006-12-101-5/+3
* - Revert signedness type changes to "struct vmtotal"; by makingru2006-11-281-15/+11
* Fix the format specifier suitable for uintmax_t.ru2006-11-231-5/+5
* - Fix types of "struct vmmeter" members so they are unsigned.ru2006-11-201-12/+13
* Remove a debugging statement from the previous commit.harti2006-10-121-2/+0
* Don't free the buffer with the sysctl value before printing it.harti2006-10-121-1/+4
* While convenient, avoid using alloca() for reasons specified inru2006-09-061-4/+20
* Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) toume2006-09-031-4/+39
* Fix printing of integer Kelvins broken in rev. 1.71, which isru2006-08-151-3/+3
* Add an extension to the UINT & ULONG types. The XINT & XLONG types behaveobrien2006-08-121-2/+10
* Use floating point instead of hacking something together. Suggested bynjl2006-08-041-10/+8
* Fix printing of negative decimal values in Kelvin to Celsius conversion.njl2006-07-251-2/+6
* Add -q to usage().ru2005-12-011-2/+2
* Add "-q" argument to sysctl(8), which suppresses a limited set of warnings/rwatson2005-09-151-4/+12
* Show descriptions for type CTLTYPE_NODES.mdodd2005-04-131-0/+5
* Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminatedmdodd2005-04-131-0/+2
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-101-1/+1
* Get rid of a NULL dereference when oid is too long.ssouhlal2005-01-251-1/+2
* Use correct format string.le2004-09-171-1/+1
* Add a suffix descriptor for the acpi thermal values as a hint for the userlandpeter2004-08-301-2/+12
* Remove advertising clause from University of California Regent's license,markm2004-04-091-4/+0
* Add CTLTYPE_QUAD to the list of types for which we don't want an emptydd2004-03-021-1/+2
* Whitespace cleanup.des2003-11-071-9/+9
* Add a command-line option to format output for human readability.des2003-11-071-11/+21
* Fix a few style glitches in the previous commit and make thesilby2003-11-011-5/+5
* Fix a 64 bit warning. Have set_T_dev_t() take a pointer to a size_t ratherpeter2003-10-261-2/+2
* Wrap a long line in the previous commitsilby2003-10-211-1/+2
* Have sysctl print out a more useful error message when it detects that thesilby2003-10-211-1/+6
* Tighten up the string->integer conversion in sysctl(8):rwatson2003-06-151-5/+25
* Output machdep.guessed_bootdev as an integer rather than try to formatphk2003-04-031-54/+0
* Fix what I think is an off-by-one in certain worst-case scenariospeter2003-01-221-1/+1
* Cleanup the formatting from the last commit, convert everything todillon2003-01-111-8/+21
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.dillon2003-01-111-0/+26
* Fix a "bug" in sysctl(8). Limit the length when we print a string frompeter2002-11-121-1/+1
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
* Don't err(3) (and exit prematurely) when a sysctl's object size hasalfred2002-05-241-9/+16
OpenPOWER on IntegriCloud