From: Alejandro Colomar Date: Mon, 1 Aug 2022 21:08:53 +0000 (+0200) Subject: getrlimit.2: srcfix X-Git-Tag: man-pages-6.0-rc1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=430bbdddf8ba714b315d046d7578ac7c7d70467e;p=thirdparty%2Fman-pages.git getrlimit.2: srcfix an.tmac:man2/getrlimit.2:246: style: 4 leading space(s) on input line Reported-by: 'make lint-man' Reported-by: groff(1) Signed-off-by: Alejandro Colomar --- diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 726b844ca3..26d18267e3 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -242,26 +242,32 @@ This limit is enforced for .BR mq_open (3). Each message queue that the user creates counts (until it is removed) against this limit according to the formula: +.RS 4 .IP - Since Linux 3.5: +Since Linux 3.5: .IP +.in +4n .EX - bytes = attr.mq_maxmsg * sizeof(struct msg_msg) + - MIN(attr.mq_maxmsg, MQ_PRIO_MAX) * - sizeof(struct posix_msg_tree_node)+ - /* For overhead */ - attr.mq_maxmsg * attr.mq_msgsize; - /* For message data */ +bytes = attr.mq_maxmsg * sizeof(struct msg_msg) + + MIN(attr.mq_maxmsg, MQ_PRIO_MAX) * + sizeof(struct posix_msg_tree_node)+ + /* For overhead */ + attr.mq_maxmsg * attr.mq_msgsize; + /* For message data */ .EE +.in .IP - Linux 3.4 and earlier: +Linux 3.4 and earlier: .IP +.in +4n .EX - bytes = attr.mq_maxmsg * sizeof(struct msg_msg *) + - /* For overhead */ - attr.mq_maxmsg * attr.mq_msgsize; - /* For message data */ +bytes = attr.mq_maxmsg * sizeof(struct msg_msg *) + + /* For overhead */ + attr.mq_maxmsg * attr.mq_msgsize; + /* For message data */ .EE +.in +.RE .IP where .I attr