9sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget2/translations/zh_CN/userspace-api/gpio/error-codesmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget2/translations/zh_TW/userspace-api/gpio/error-codesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget2/translations/it_IT/userspace-api/gpio/error-codesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget2/translations/ja_JP/userspace-api/gpio/error-codesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget2/translations/ko_KR/userspace-api/gpio/error-codesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget2/translations/sp_SP/userspace-api/gpio/error-codesmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhL/var/lib/git/docbuild/linux/Documentation/userspace-api/gpio/error-codes.rsthKubhtarget)}(h.. _gpio_errors:h]h}(h]h ]h"]h$]h&]refid gpio-errorsuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hGPIO Error Codesh]hGPIO Error Codes}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(h.. _gpio-errors:h]h}(h]h ]h"]h$]h&]hid1uh1hhK hhhhhhubhtabular_col_spec)}(hhh]h}(h]hah ]h"] gpio-errorsah$]h&]spec|p{2.5cm}|p{15.0cm}|uh1hhhhK hhhhexpect_referenced_by_name}hhsexpect_referenced_by_id}hhsubhtable)}(hhh](h)}(hCommon GPIO error codesh]hCommon GPIO error codes}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hj ubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hj ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h paragraph)}(h ``EAGAIN`` (aka ``EWOULDBLOCK``)h](hliteral)}(h ``EAGAIN``h]hEAGAIN}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j7hj3ubh (aka }(hj3hhhNhNubj8)}(h``EWOULDBLOCK``h]h EWOULDBLOCK}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hj3ubh)}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1j1hhhKhj.ubah}(h]h ]h"]h$]h&]uh1j,hj)ubj-)}(hhh]j2)}(hgThe device was opened in non-blocking mode and a read can't be performed as there is no data available.h]hiThe device was opened in non-blocking mode and a read can’t be performed as there is no data available.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhKhjiubah}(h]h ]h"]h$]h&]uh1j,hj)ubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``EBADF``h]j8)}(hjh]hEBADF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubah}(h]h ]h"]h$]h&]uh1j1hhhKhjubah}(h]h ]h"]h$]h&]uh1j,hjubj-)}(hhh]j2)}(h!The file descriptor is not valid.h]h!The file descriptor is not valid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhKhjubah}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``EBUSY``h]j8)}(hjh]hEBUSY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubah}(h]h ]h"]h$]h&]uh1j1hhhKhjubah}(h]h ]h"]h$]h&]uh1j,hjubj-)}(hhh]j2)}(hX The ioctl can't be handled because the device is busy. Typically returned when an ioctl attempts something that would require the usage of a resource that was already allocated. The ioctl must not be retried without performing another action to fix the problem first.h]hX The ioctl can’t be handled because the device is busy. Typically returned when an ioctl attempts something that would require the usage of a resource that was already allocated. The ioctl must not be retried without performing another action to fix the problem first.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhKhjubah}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``EFAULT``h]j8)}(hjh]hEFAULT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hj ubah}(h]h ]h"]h$]h&]uh1j1hhhK#hj ubah}(h]h ]h"]h$]h&]uh1j,hjubj-)}(hhh]j2)}(hjThere was a failure while copying data from/to userspace, probably caused by an invalid pointer reference.h]hjThere was a failure while copying data from/to userspace, probably caused by an invalid pointer reference.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhK%hj)ubah}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``EINVAL``h]j8)}(hjNh]hEINVAL}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjLubah}(h]h ]h"]h$]h&]uh1j1hhhK(hjIubah}(h]h ]h"]h$]h&]uh1j,hjFubj-)}(hhh]j2)}(hnOne or more of the ioctl parameters are invalid or out of the allowed range. This is a widely used error code.h]hnOne or more of the ioctl parameters are invalid or out of the allowed range. This is a widely used error code.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhK*hjiubah}(h]h ]h"]h$]h&]uh1j,hjFubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``ENODEV``h]j8)}(hjh]hENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubah}(h]h ]h"]h$]h&]uh1j1hhhK-hjubah}(h]h ]h"]h$]h&]uh1j,hjubj-)}(hhh]j2)}(h Device not found or was removed.h]h Device not found or was removed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j1hhhK/hjubah}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ]h"]h$]h&]uh1j'hj$ubj()}(hhh](j-)}(hhh]j2)}(h ``ENOMEM``h]j8)}(hjh]hENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubah}(h]h ]h"]h$]h&]uh1j1hhhK1hjubah}(h]h ]h"]h$]h&]uh1j,hjubj-)}(hhh]j2)}(h:There's not enough memory to handle the desired operation.h]h