session_detach
if (session_detach(s, wl)) {
if (session_detach(s, wl))
int session_detach(struct session *, struct winlink *);