[PATCH 10/24] pthread_setname_np.3: Fix prototype

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

 



The name parameter of pthread_getname_np is an output parameter and
hence not const.

Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---
 man3/pthread_setname_np.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
index a7c9286..b14c412 100644
--- a/man3/pthread_setname_np.3
+++ b/man3/pthread_setname_np.3
@@ -32,7 +32,7 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread
 .B #include <pthread.h>
 .BI "int pthread_setname_np(pthread_t " thread ", const char *" name ");
 .BI "int pthread_getname_np(pthread_t " thread ,
-.BI "                       const char *" name ", size_t " len );
+.BI "                       char *" name ", size_t " len );
 .fi
 .sp
 Compile and link with \fI\-pthread\fP.
-- 
1.9.2

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