Thread (1 message) 1 message, 1 author, 2017-08-28

Re: man page update (fcntl(2) new set/get write hints)

From: Florian Weimer <hidden>
Date: 2017-08-28 09:07:14

Possibly related (same subject, not in this thread)

On 08/24/2017 12:41 AM, Michael Kerrisk (man-pages) wrote:
+.TP
+.BR F_GET_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
+Returns the value of the read/write hint associated with the underlying inode
+for the file descriptor.
+.TP
+.BR F_SET_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
+Sets the read/write hint value associated with the underlying inode for the
+file descriptor.
Surely the arguments are of pointer type for reads *and* writes?

There is no convenient way 32-bit userspace can pass a 64-bit integer
through are variadic dispatcher interface such as ioctl/fcntl/futex.

Thanks,
Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help