Re: [PATCH 06/10] Add <sys/types.h> to synopsis of get_robust_list()

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

 



On 04/30/2014 09:42 PM, Rasmus Villemoes wrote:
> If one were to implement wrappers for [gs]et_robust_list() using the
> given prototypes, one would also have to include sys/types.h to get
> a definition of size_t.

Applied!

Thanks,

Michael


> Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
> ---
>  man2/get_robust_list.2 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/man2/get_robust_list.2 b/man2/get_robust_list.2
> index 76453ea..377d7e4 100644
> --- a/man2/get_robust_list.2
> +++ b/man2/get_robust_list.2
> @@ -32,6 +32,7 @@ get_robust_list, set_robust_list \- get/set list of robust futexes
>  .SH SYNOPSIS
>  .nf
>  .B #include <linux/futex.h>
> +.B #include <sys/types.h>
>  .B #include <syscall.h>
>  .sp
>  .BI "long get_robust_list(int " pid ", struct robust_list_head **" head_ptr ,
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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