Re: [PATCH 11/24] pthread_setschedparam.3: Fix prototypes

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

 



Thanks. Applied.

Cheers,

Michael



On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> Add return type for pthread_{s,g}etschedparam.
> 
> Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
> ---
>  man3/pthread_setschedparam.3 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
> index 0930eb2..7863f04 100644
> --- a/man3/pthread_setschedparam.3
> +++ b/man3/pthread_setschedparam.3
> @@ -31,10 +31,10 @@ scheduling policy and parameters of a thread
>  .nf
>  .B #include <pthread.h>
>  
> -.BI "pthread_setschedparam(pthread_t " thread ", int " policy ,
> -.BI "                      const struct sched_param *" param );
> -.BI "pthread_getschedparam(pthread_t " thread ", int *" policy ,
> -.BI "                      struct sched_param *" param );
> +.BI "int pthread_setschedparam(pthread_t " thread ", int " policy ,
> +.BI "                          const struct sched_param *" param );
> +.BI "int pthread_getschedparam(pthread_t " thread ", int *" policy ,
> +.BI "                          struct sched_param *" param );
>  .sp
>  Compile and link with \fI\-pthread\fP.
>  .fi
> 


-- 
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