Some drivers can measure the temperature using the GETTEMP ioctl. Thereturned value is the temperature in degrees fahrenheit.Código: [Seleccionar] int temperature; ioctl(fd, WDIOC_GETTEMP, &temperature);
int temperature; ioctl(fd, WDIOC_GETTEMP, &temperature);