|
|
1.1 root 1: #include <valign.h>
2:
3: char *malloc();
4:
5: char *
6: valloc(i)
7: int i;
8: {
9: char *cp = malloc(i + (VALSIZ-1));
10: int j;
11:
12: j = ((int)cp + (VALSIZ-1)) &~ (VALSIZ-1);
13: return ((char *)j);
14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.