projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
modern syntax for asgops & inits cause Donn's latest ccom rejects the old.
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.ok
/
cmd
/
alloc.c
Commit
Line
Data
26c4d852
1
#include "../hdr/macros.h"
d62cb180
2
26c4d852
3
SCCSID(@(#)alloc.c 4.2);
d62cb180
EA
4
5
alloc(i)
6
int i;
7
{
8
register char *cp = malloc(i);
9
10
if (cp == 0)
11
return (-1);
12
return (cp);
13
}