static char sccsid
[] = "@(#)wwalloc.c 3.7 %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.
wwalloc(row
, col
, nrow
, ncol
, size
)
/* fast, call malloc only once */
malloc((unsigned) sizeof (char **) * nrow
+ size
* nrow
* ncol
);
size
/= sizeof (char); /* paranoid */
for (i
= 0; i
< nrow
; i
++) {