Function x11rb::protocol::shm::detach

source ·
pub fn detach<Conn>(
    conn: &Conn,
    shmseg: Seg
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Destroys the specified shared memory segment..

Destroys the specified shared memory segment. This will never fail unless the segment number is incorrect.

§Fields

  • shmseg - The segment to be destroyed.