x11rb::protocol::shm

Function 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.