* @brief Attaches a shared memory segment to the calling process's address space. * * This system call maps a shared memory segment identified by `id` into the calling * process's address space. The segment can then be accessed using the returned virtual * address. If the segment was previously detached or created, it will be made available * for reading and writing. * * @param[in] id
| 4684 | * segment may result in undefined behavior. |
| 4685 | */ |
| 4686 | void* sys_shmat(int id, void* shm_vaddr) |
| 4687 | { |
| 4688 | return lwp_shmat(id, shm_vaddr); |
| 4689 | } |
| 4690 | |
| 4691 | /** |
| 4692 | * @brief Detaches a shared memory segment from the calling process's address space. |
nothing calls this directly
no test coverage detected