The OpenD Programming Language

mq_close

Closes the message queue descriptor mqdes.

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

Parameters

mqdes mqd_t

Message queue descriptor to close.

Return Value

Type: int

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

Meta