* @brief Removes a shared memory segment. * * This system call removes the specified shared memory segment identified by its `id`. * Once removed, the segment will no longer be accessible, and any memory associated * with it will be freed. It is typically used to clean up shared memory resources * when they are no longer needed. * * @param[in] id The identifier of the shared memory segment
| 4650 | * calling this function to avoid premature removal and potential data loss. |
| 4651 | */ |
| 4652 | sysret_t sys_shmrm(int id) |
| 4653 | { |
| 4654 | return lwp_shmrm(id); |
| 4655 | } |
| 4656 | |
| 4657 | /** |
| 4658 | * @brief Attaches a shared memory segment to the calling process's address space. |
nothing calls this directly
no test coverage detected