docs: def nvmlUnitGetTemperature(unit, type):
      r"""
      /**
       * Retrieves the temperature readings for the unit, in degrees C.
       *
       * For S-class products.
       *
       * Depending on the product, readings may be available for intake (type=0),
       * exhaust (type=1) and board (type=2).
       *
       * @param unit                                 The identifier of the target unit
       * @param type                                 The type of reading to take
       * @param temp                                 Reference in which to return the intake temperature
       *
       * @return
       *         - \ref NVML_SUCCESS                 if \a temp has been populated
       *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
       *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a unit or \a type is invalid or \a temp is NULL
       *         - \ref NVML_ERROR_NOT_SUPPORTED     if this is not an S-class product
       *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
       */
      nvmlReturn_t DECLDIR nvmlUnitGetTemperature
      """
      """
  /**
   * Retrieves the temperature readings for the unit, in degrees C.
   *
   * For S-class products.
   *
   * Depending on the product, readings may be available for intake (type=0),
   * exhaust (type=1) and board (type=2).
   *
   * @param unit                                 The identifier of the target unit
   * @param type                                 The type of reading to take
   * @param temp                                 Reference in which to return the intake temperature
   *
   * @return
   *         - \ref NVML_SUCCESS                 if \a temp has been populated
   *         - \ref NVML_ERROR_UNINITIALIZED     if the library has not been successfully initialized
   *         - \ref NVML_ERROR_INVALID_ARGUMENT  if \a unit or \a type is invalid or \a temp is NULL
   *         - \ref NVML_ERROR_NOT_SUPPORTED     if this is not an S-class product
   *         - \ref NVML_ERROR_UNKNOWN           on any unexpected error
   */
      """
      c_temp = c_uint()
      fn = _nvmlGetFunctionPointer("nvmlUnitGetTemperature")
      ret = fn(unit, c_uint(type), byref(c_temp))
      _nvmlCheckReturn(ret)
      return bytes_to_str(c_temp.value)