summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
AgeCommit message (Expand)Author
2011-11-25Use static + __deadjoerg
2008-05-02WARNS=4 love.xtraeme
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-10-27When no estimate of battery minutes_left can be made, apm shouldplunky
2006-09-23PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow valueelad
2005-01-23Add 'd' to usage, sort options in usage, sort options in getopt() call.cube
2004-03-31Add missing "m" option in SYNOPSIS.tron
2002-08-08Remove extraneous \n's in {err,warn}{,x} that used to be printfs.soren
2002-07-20sweep of errx/warnx, remove unnecessary trailing \ngrant
2001-09-13- Bail out when failed to ioctl.enami
2001-09-13KNF and other misc. stylistic changes.enami
2001-07-22support multiple batteries (currently only # of batteris is visible -itojun
2001-02-19convert to use getprogname()cgd
1999-01-15Add -m option to display minutes left. From dbj@netbsd.orgaugustss
1998-11-13momentarily -> in a moment, to avoid ambiguity.abs
1998-07-18use AF_LOCAL instead of AF_UNIXlukem
1998-03-31Change return type of main to int.mycroft
1997-10-17minor cleanuplukem
1997-07-30Fix files using old TNF copyright noticejtc
1996-09-25Copyright has been assigned to The NetBSD Foundationjtc
1996-08-25add Advanced Power Management driverjtk