Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 3/3] syscalls: Add a bit of documentation to __SYSCALL_ ...

$
0
0
Linus Torvalds writes: (Summary) Ack.
Ack.
Is that "long long" part of the example on purpose? And "long long" is the simplest example, even though in practice the type is most often "loff_t".
"loff_t".
You won't see this on 64-bit architectures, but it's visible on 32-bit ones. See for example
example
COMPAT_SYSCALL_DEFINE5(preadv, compat_ulong_t, fd,
const struct compat_iovec __user *,vec,
compat_ulong_t, vlen, u32, pos_low, u32, pos_high)
{
        loff_t pos = ((loff_t)pos_high <<

Viewing all articles
Browse latest Browse all 1267

Trending Articles