Skip to contentSkip to conversation

msgctl.2: Add note about ignored arg to IPC_RMID.

PATCH In review Cyril Hrubis 2 participants 2 messages Feb 6, 2014 – Feb 7, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 msgctl.2: Add note about ignored arg to IPC_RMID.

This bit of information is missing from the man page but can be, for example, found in the Linux Programming Interface book.

---
 man2/msgctl.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/msgctl.2 +1 -1
index 9ffd75b..5f32be6 100644
@@ -144,7 +144,7 @@ set to
 .BR EIDRM ).
 The calling process must have appropriate privileges
 or its effective user ID must be either that of the creator or owner
-of the message queue.
+of the message queue. The third argument to msgctl() is ignored in this case.
 .TP
 .BR IPC_INFO " (Linux-specific)"
 Returns information about system-wide message queue limits and
Signature · 10 lines
1.8.3.2


-- 
Cyril Hrubis
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20140206140737.GA16304-J5syqNJeCN7twjQa/[email protected]

#2 lore raw
Quoted 1 line · Cyril Hrubis

This bit of information is missing from the man page but can be, for

Thanks, Cyril. Patch applied.

Cheers,

Michael

Quoted 21 lines

example, found in the Linux Programming Interface book.

---
 man2/msgctl.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/msgctl.2 +1 -1
index 9ffd75b..5f32be6 100644
@@ -144,7 +144,7 @@ set to
 .BR EIDRM ).
 The calling process must have appropriate privileges
 or its effective user ID must be either that of the creator or owner
-of the message queue.
+of the message queue. The third argument to msgctl() is ignored in this case.
 .TP
 .BR IPC_INFO " (Linux-specific)"
 Returns information about system-wide message queue limits and
Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html