Monday, June 13, 2022

apm(4) ioctls

On amd64 and aarch64 (the two architectures I have access to to
check), the man page for apm(4) documents APM_IOC_NEXTEVENT, which
doesn't appear in <machine/apmvar.h>.
(grep tells me that it also appears in the man pages for i386 and
macppc and does not appear in any src/sys/arch/*/include/apmvar.h.)

It looks like apmd uses kqueue to get this information; that interface
doesn't appear in any documentation I've found.

Am I looking in the wrong places, or is the documentation wrong
here? Is the way apmd does it meant to be a supported interface?


Thanks,
dave

--
Dave Vandervies
dj3vande@terse.ca

Plan your future! Make God laugh!

No comments:

Post a Comment