Re: [PATCH 09/16] posix_fadvise.2: describe the difference between fadvise64/fadvise64_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/19/2018 07:12 PM, Eugene Syromyatnikov wrote:
> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>

Thanks, Eugene. Patch applied.

Cheers,

Michael

> ---
>  man2/posix_fadvise.2 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/man2/posix_fadvise.2 b/man2/posix_fadvise.2
> index 0077a86..eed5d9c 100644
> --- a/man2/posix_fadvise.2
> +++ b/man2/posix_fadvise.2
> @@ -192,7 +192,9 @@ The name of the wrapper function in the C library is
>  The underlying system call is called
>  .BR fadvise64 ()
>  (or, on some architectures,
> -.BR fadvise64_64 ()).
> +.BR fadvise64_64 ()); the difference between the two is that former syscall
> +assumes that the type of the \fIlen\fP argument is \fBsize_t\fP,
> +while the latter expects \fBloff_t\fP there.
>  .SS Architecture-specific variants
>  Some architectures require
>  64-bit arguments to be aligned in a suitable pair of registers (see
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux