Messages in this thread | | | Date | Sun, 15 Oct 2000 00:31:13 -0400 | From | Thomas Hood <> | Subject | Re: Controlling subsystem power using APM |
| |
> Linux aesthetics disaproves of no-value-added definitions like > +struct apm_get_power_state_inparms { > + unsigned short dev_id; > +};
This is included for reasons of symmetry---it is one of the components of a union.
> and in the code you present, rtnval seems redundant, > since user-level can look at errno to see whether the > ioctl succeeded.
rtnval is the APM BIOS return code whereas errno is the ioctl return code.
Thanks
Thomas Hood - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |