On Mon, Jun 13, 2022 at 07:17:38PM -0400, Dave Vandervies wrote: > 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? > >
hi. some of the information in apm(4) does indeed appear to be incorrect. but from speaking to another developer, it seems it is not a simple doc fix. i can;t say much more than that. sorry, jmc

