home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_07_03
/
v7n3052a.txt
< prev
next >
Wrap
Text File
|
1989-01-01
|
334b
|
20 lines
typedef struct SYMBOL {
int symtype;
char symname[1]; /* first character of symbol name */
} SYMBOL;
/*
* newsym - return a pointer to a symbol of a given length.
*/
SYMBOL *newsym(unsigned len) {
extern void *malloc();
return ( (SYMBOL *) malloc(sizeof(SYMBOL)+len) );
}