1 .. -*- coding: utf-8; mode: rst -*-
14 .. attention:: This ioctl is deprecated.
19 .. c:function:: int ioctl(int fd, VIDEO_GET_SIZE, video_size_t *size)
35 - File descriptor returned by a previous call to open().
41 - Equals VIDEO_GET_SIZE for this command.
47 - Returns the size and aspect ratio.
53 This ioctl returns the size and aspect ratio.
55 .. c:type:: video_size_t
62 video_format_t aspect_ratio;
69 On success 0 is returned, on error -1 and the ``errno`` variable is set
70 appropriately. The generic error codes are described at the
71 :ref:`Generic Error Codes <gen-errors>` chapter.