|
|
BSD 3.0
#include <valign.h>
char *malloc();
char *
valloc(i)
int i;
{
char *cp = malloc(i + (VALSIZ-1));
int j;
j = ((int)cp + (VALSIZ-1)) &~ (VALSIZ-1);
return ((char *)j);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.