Messages in this thread | | | Date | Sun, 14 Oct 2018 02:11:26 +0200 | From | Eugene Syromiatnikov <> | Subject | Re: question about V4L2_MEMORY_USERPTR on 64bit applications |
| |
On Fri, Oct 12, 2018 at 10:52:51AM +0530, tbhardwa@codeaurora.org wrote: > (in 64 bit userspace long is 32-bit)
Not on Linux.
$ cat /tmp/c.c int main(void) { return sizeof(long); } $ gcc /tmp/c.c $ ./a.out; echo $? 8 $ file ./a.out ./a.out: ELF 64-bit LSB pie executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.2, for GNU/Linux 3.10.0, BuildID[sha1]=dad78822e741b7900dc7568222822d5d63c31a6c, not stripped
| |