diff options
Diffstat (limited to 'share/man/man4/man4.amd64/apm.4')
-rw-r--r-- | share/man/man4/man4.amd64/apm.4 | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/share/man/man4/man4.amd64/apm.4 b/share/man/man4/man4.amd64/apm.4 index c79cffbb3ca..a6804f2d9d8 100644 --- a/share/man/man4/man4.amd64/apm.4 +++ b/share/man/man4/man4.amd64/apm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apm.4,v 1.3 2007/11/29 11:35:35 jmc Exp $ +.\" $OpenBSD: apm.4,v 1.4 2010/09/19 12:32:10 jmc Exp $ .\" .\" Copyright (c) 1998 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: November 29 2007 $ +.Dd $Mdocdate: September 19 2010 $ .Dt APM 4 amd64 .Os .Sh NAME @@ -100,9 +100,7 @@ value contains the estimated number of minutes of battery life remaining. .It Dv APM_IOC_NEXTEVENT .Pq Li "struct apm_event_info" -The -.Tn APM -driver stores up to +The APM driver stores up to .Dv APM_NEVENTS events. This was defined as 16 at the time this documentation was written. @@ -141,8 +139,7 @@ is one of: .It Dv APM_IOC_DEV_CTL .Pq Li "struct apm_ctl" Allows an application to directly set the -.Tm APM -operating mode. +APM operating mode. The argument structure is as follows: .Bd -literal -offset indent struct apm_ctl { @@ -158,7 +155,7 @@ indicates the device, typically .Va mode indicates the desired operating mode. Possible values are -.Bl -tag -compact -offset indent +.Bl -tag -width Ds -compact -offset indent .It Dv APM_SYS_READY .It Dv APM_SYS_STANDBY .It Dv APM_SYS_SUSPEND @@ -170,8 +167,7 @@ Possible values are .Pq Li "int" This .Xr ioctl 2 -controls message output by the -.Tn APM +controls message output by the APM driver when a power change event is detected. The integer parameter is one of: .Bl -tag -width Ds |