Retrieves or sets POSIX message queue attributes.
Arguments
eax |
282 |
ebx |
Message queue descriptor. |
ecx |
Pointer to a properly initialized mq_attr structure (this argument may be null):
struc mq_attr
{
.mq_flags rd 1
.mq_maxmsg rd 1
.mq_msgsize rd 1
.mq_curmsgs rd 1
.__reserved rd 4
} |
mq_attr members:
mq_flags
Message queue flags.
mq_maxmsg
Maximum number of messages.
mq_msgsize
Maximum message size.
mq_curmsgs
Number of messages currently queued.
__reserved
Reserved.
|
edx |
Pointer to a mq_attr structure which will be be filled with previous attributes on return (this argument may be null). |
Return values
If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:
-EFAULT |
ecx or edx points to an invalid location. |
-EINVAL |
mq_flags contains invalid flags. |
-EBADF |
ebx refers to an invalid message queue descriptor. |
|
Remarks
n/a
Compatibility
n/a |