* @brief Deletes a mailbox object. * * This system call deletes the specified mailbox object, releasing any resources * associated with it. After deletion, the mailbox object should not be used. * * @param[in] mb The handle to the mailbox object to be deleted. * Must be a valid `rt_mailbox_t` object. * * @return sysret_t Returns a status code indicating the result of the oper
| 2376 | * @see sys_mb_create(), sys_mb_send(), sys_mb_recv() |
| 2377 | */ |
| 2378 | sysret_t sys_mb_delete(rt_mailbox_t mb) |
| 2379 | { |
| 2380 | return lwp_user_object_delete(lwp_self(), (rt_object_t)mb); |
| 2381 | } |
| 2382 | |
| 2383 | /** |
| 2384 | * @brief Sends a message to a mailbox object. |
nothing calls this directly
no test coverage detected