mq_getattr

Query status and attributes of message queue mqdes.

version(Posix && CRuntime_Glibc)
extern (C) @nogc nothrow
int
mq_getattr

Parameters

mqdes mqd_t

Message queue descriptor.

mqstat mq_attr*

Buffer to fill with the message queue's attributes.

Return Value

Type: int

On success mq_getattr() return 0; on error, -1 is returned, with errno set to indicate the error.

Meta