static char sccsid
[] = "@(#)wwclose.c 3.13 %G%";
* Copyright (c) 1983 Regents of the University of California,
* All rights reserved. Redistribution permitted subject to
* the terms of the Berkeley Software License Agreement.
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
));