Returns CPU temperature in °C of first processor on Linux and FreeBSD
in temperature. On error, argument temperature is set to 0.0.
The function returns the following error codes:
E_EMPTY if result is empty.E_FORMAT if output format is unexpected.E_IO if opening file failed.E_NOT_FOUND if file or variable does not exist.E_PLATFORM if system type is unsupported.E_READ if reading failed.E_SYSTEM if system call failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(out) | :: | temperature |
Temperature [°C] |