* Copyright (c) 1983 Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* Edward Wang at The University of California, Berkeley.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)wwclose.c 3.18 (Berkeley) %G%";
wwindex
[w
->ww_index
] = 0;
(void) close(w
->ww_socket
);
wwfree((char **)w
->ww_win
, w
->ww_w
.t
);
wwfree((char **)w
->ww_buf
, w
->ww_b
.t
);
wwfree((char **)w
->ww_fmap
, w
->ww_w
.t
);
free((char *)(w
->ww_nvis
+ w
->ww_w
.t
));