1 .. SPDX-License-Identifier: GPL-2.0 2 3 .. _GPIO_V2_GET_LINEINFO_IOCTL: 4 5 ************************** 6 GPIO_V2_GET_LINEINFO_IOCTL 7 ************************** 8 9 Name 10 ==== 11 12 GPIO_V2_GET_LINEINFO_IOCTL - Get the publicly 13 14 Synopsis 15 ======== 16 17 .. c:macro:: GPIO_V2_GET_LINEINFO_IOCTL 18 19 ``int ioctl(int chip_fd, GPIO_V2_GET_LINEINFO_ 20 21 Arguments 22 ========= 23 24 ``chip_fd`` 25 The file descriptor of the GPIO character 26 27 ``info`` 28 The :c:type:`line_info<gpio_v2_line_info>` 29 ``offset`` field set to indicate the line 30 31 Description 32 =========== 33 34 Get the publicly available information for a l 35 36 This information is available independent of w 37 38 .. note:: 39 The line info does not include the line va 40 41 The line must be requested using gpio-v2-g 42 value. 43 44 Return Value 45 ============ 46 47 On success 0 and ``info`` is populated with th 48 49 On error -1 and the ``errno`` variable is set 50 Common error codes are described in error-code
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.