mid_to_spool_name

March 26, 2020

Name

mid_to_spool_name — Get the spool name from the message ID

Synopsis

#include "spool.h"

| int **mid_to_spool_name** ( | mid, |   |
|   | buffer); |   |

message_id * <var class="pdparam">mid</var>;
char * <var class="pdparam">buffer</var>;

Description

Get the spool name from the message ID.

Parameters

mid

The message id.

buffer

The buffer for the spool name. This buffer must be at least SPOOL_NAME_LEN +1 in length. This constant is defined in spool.h.

Return Values

On success, this function returns the length of the spool name.

Threading

It is legal to call this function in any thread.

See Also

“message_id”