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.
- 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 inspool.h
.
On success, this function returns the length of the spool name.
It is legal to call this function in any thread.