AP_cancel

Cancel an outgoing message buffer

Synopsis

#include "autopack.h"

void AP_cancel(void *buf)

Parameters

buf
an outgoing buffer previously allocated by AP_alloc()

Description

Still being tested.

Needs a Fortran interface.

Cancels a send buffer previously allocated by AP_alloc() and frees any internal buffer space. After this call, buf is invalid and should not be used in any way.

The buffer must be the most recently allocated buffer for the destination, otherwise it is an error. It is also erroneous to specify a buffer which has previously passed to AP_send(). These errors may or may not be detected depending on whether the library was compiled with NO_USER_CHECKS.

Return Value

None