OpenGrok
Cross Reference: apm.c
xref
: /
src
/
usr.sbin
/
apm
/
apm.c
Home
|
History
|
Annotate
|
Download
|
only in
apm
History log of
/src/usr.sbin/apm/apm.c
Revision
Date
Author
Comments
1.21
25-Nov-2011
joerg
Use static + __dead
1.20
02-May-2008
xtraeme
branches: 1.20.4;
WARNS=4 love.
1.19
28-Apr-2008
martin
Remove clause 3 and 4 from TNF licenses
1.18
27-Oct-2007
plunky
branches: 1.18.6;
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
1.17
23-Sep-2006
elad
branches: 1.17.2; 1.17.4; 1.17.8;
PR/34593: Arnaud LACOMBE: apm(8) prints meaningless default unknow value
for minutes_left
Patch applied, thanks for the report!
1.16
23-Jan-2005
cube
Add 'd' to usage, sort options in usage, sort options in getopt() call.
1.15
31-Mar-2004
tron
Add missing "m" option in SYNOPSIS.
Remove duplicate "d" in getopt(3) call.
The patches were provided by Jeff Ito in PR bin/24971.
1.14
08-Aug-2002
soren
branches: 1.14.2;
Remove extraneous \n's in {err,warn}{,x} that used to be printfs.
1.13
20-Jul-2002
grant
sweep of errx/warnx, remove unnecessary trailing \n
1.12
13-Sep-2001
enami
- Bail out when failed to ioctl.
- Clear args to APM_IOC_GETPOWER.
1.11
13-Sep-2001
enami
KNF and other misc. stylistic changes.
1.10
22-Jul-2001
itojun
support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more). PR 10545.
1.9
19-Feb-2001
cgd
convert to use getprogname()
1.8
15-Jan-1999
augustss
Add -m option to display minutes left. From dbj@netbsd.org
1.7
13-Nov-1998
abs
momentarily -> in a moment, to avoid ambiguity.
1.6
18-Jul-1998
lukem
use AF_LOCAL instead of AF_UNIX
1.5
31-Mar-1998
mycroft
Change return type of main to int.
1.4
17-Oct-1997
lukem
minor cleanup
1.3
30-Jul-1997
jtc
Fix files using old TNF copyright notice
1.2
25-Sep-1996
jtc
Copyright has been assigned to The NetBSD Foundation
1.1
25-Aug-1996
jtk
add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1.14.2.1
01-Apr-2004
jmc
Pullup rev 1.15 (requested by tron in ticket #30)
Add missing m option in SYNOPSIS.
Remove duplicate d in getopt(3) call. PR#24971
1.17.8.1
06-Nov-2007
matt
sync with HEAD
1.17.4.1
06-Jan-2008
wrstuden
Catch up to netbsd-4.0 release.
1.17.2.1
29-Oct-2007
pavel
Pull up following revisions (requested by plunky in ticket #956):
usr.sbin/apm/apm.c: revision 1.18
sys/dev/acpi/acpi_apm.c: revision 1.11
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
1.18.6.1
18-May-2008
yamt
sync with head.
1.20.4.1
17-Apr-2012
yamt
sync with head
Indexes created Wed Oct 15 16:09:53 GMT 2025