getErrno method

int getErrno()

Returns the libc errno of the last failure that occurred.

Implementation

int getErrno() {
  _checkStatus();
  return _nativeLedErrno(_ledHandle);
}