rem: if (*num_bytes < 1) return B_IO_ERROR;  acpi->write_acpi_reg((uint32)(cookie),*((uint8 *)(buffer))); *num_bytes = 1; return B_OK;
add: return B_IO_ERROR;
context: acpi_button_write (void* cookie, off_t position, const void* buffer, size_t* num_bytes){	if (*num_bytes < 1)		return B_IO_ERROR;			acpi->write_acpi_reg((uint32)(cookie),*((uint8 *)(buffer)));	*num_bytes = 1;	return B_OK;}