The OpenD Programming Language

mq_notify

Register for notification when a message is available

version(Posix && CRuntime_Glibc)
extern (C) @nogc nothrow
int
mq_notify
(,
const(sigevent)* notification
)

Parameters

mqdes mqd_t

Message queue descriptor.

notification const(sigevent)*

See man 3 mq_notify for details.

Return Value

Type: int

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

Meta