* @brief Allocates or retrieves a shared memory segment. * * This system call allocates a new shared memory segment or retrieves an existing one * based on the specified `key`. Shared memory allows processes to communicate by * sharing a region of memory. * * @param[in] key A unique identifier for the shared memory segment. If `key` matches * an existing segment, it w
| 4623 | * a new segment, ensure that `size` is non-zero and meaningful. |
| 4624 | */ |
| 4625 | sysret_t sys_shmget(size_t key, size_t size, int create) |
| 4626 | { |
| 4627 | return lwp_shmget(key, size, create); |
| 4628 | } |
| 4629 | |
| 4630 | /** |
| 4631 | * @brief Removes a shared memory segment. |
nothing calls this directly
no test coverage detected