[Previous] [Contents] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

destroy() callback

Called when a node is destroyed

Synopsis:

#include <sys/pmm.h>

void destroy(void *data)

Library:

libc

Description:

This function is called when a node is destroyed:

data
Policy specific data returned by the create() function when the node is created.

The destroy() function is called when the last client reference to an unlinked node is removed:

This function cleans up any policy specific state for this node, and free any data allocated for it.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Unknown
Interrupt handler Unknown
Signal handler Unknown
Thread Unknown

See also:


[Previous] [Contents] [Next]