[PATCH v2] sigprocmask.2: do not specify an exact value of rt_sigprocmask's 4th argument

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

 



As sizeof(kernel_sigset_t) is not the same for all architectures,
it would be better not to mention any numbers as its value.

Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
---
v2: mention that sizeof(kernel_sigset_t) is architecture specific.

 man2/sigprocmask.2 | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index 8388340..499fd0c 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -202,10 +202,11 @@ which specifies the size in bytes of the signal sets in
 .IR set
 and
 .IR oldset .
-This argument is currently required to have the value 8
-(
-.IR sizeof(kernel_sigset_t)
-).
+This argument is currently required to have a fixed architecture specific value
+(equal to
+.IR sizeof(kernel_sigset_t) ).
+.\" sizeof(kernel_sigset_t) == _NSIG / 8,
+.\" which equals to 8 on most architectures, but e.g. on MIPS it's 16.
 
 The glibc
 .BR sigprocmask ()
-- 
ldv

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